Need Help Folks,
Does anyone able make call to LinkedIn V2/me version. I'm able to make successful API call to V1 version got response as member required information.
When calling https://api.linkedin.com/v2/me?format=json ,method :GET in postman by access token in header as part of Authorization.It is throwing below error
Response :
{
"serviceErrorCode": 100,
"message": "Not enough permissions to access: GET /me",
"status": 403
}
I used the same OAuth2.0 access token for both V1 & V2 version. Since August 10 2015 have r_basicprofile
permission for V1 version in LinkedIn consumer application platform.
There is no issue with V1 API calls from our application. Linkedin will be sunset V1 version so need to use public API's only as per restriction from LinkedIn side for X application DLP.
What are the LinkedIn public API endpoints & required API access permission ?
How to get r_liteprofile
permission ?
I want basic member profile information like first-name, last-name, email-address, headline, location, industry, picture-url, summary, positions.
Which API have to call to get the above data ?
Thanks you in advance ):-
If you are using V2 and you did not taken permission to use r_basicprofile then either apply for permission to use r_basicprofile to linkedin or use r_liteprofile + r_emailaddress
r_liteprofile for firstName,lastName,profilePicture,id r_emailaddress for getting emailAddress