Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions LinkedIn/LinkedIn.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ class LinkedIn
private $_debug_info = null;
private $_curl_handle = null;

const API_BASE = 'https://api.linkedin.com/v1';
const OAUTH_BASE = 'https://www.linkedin.com/uas/oauth2';
const API_BASE = 'https://api.linkedin.com/v2';
const OAUTH_BASE = 'https://www.linkedin.com/oauth/v2';

const SCOPE_BASIC_PROFILE = 'r_basicprofile'; // Name, photo, headline, and current positions
const SCOPE_BASIC_PROFILE = 'r_liteprofile'; // Name, photo, headline, and current positions
const SCOPE_FULL_PROFILE = 'r_fullprofile'; // Full profile including experience, education, skills, and recommendations
const SCOPE_EMAIL_ADDRESS = 'r_emailaddress'; // The primary email address you use for your LinkedIn account
const SCOPE_NETWORK = 'r_network'; // Your 1st and 2nd degree connections
Expand Down