-
Notifications
You must be signed in to change notification settings - Fork 47
Description
I need help in accessing API to get other member profile. Here is the process I have done.
From LinkedIn API
https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=YOUR_CLIENT_ID&scope=r_liteprofile&state=123456&redirect_uri=http://localhost:3001
I have genereated auth-token which comes as parameter in code='...***...' then passed in into this API
https://www.linkedin.com/oauth/v2/accessToken?grant_type=authorization_code&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET&code=YOUR_AUTHORIZATION_CODE&redirect_uri=YOUR_REDIRECT_URI
It gave me access token. Now to access other members details from LinkedIn profile I have used API
https://api.linkedin.com/v2/people/(id:{})
with Authorization : Bearer Access_Token but in response I got this
{
"serviceErrorCode": 100,
"message": "Not enough permissions to access: GET /people/(id:%7Bvirti-shah-6a578b165%7D)",
"status": 403
}