Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinkedIn Public API Access #12

Open
karan-bhatt opened this issue Jan 8, 2021 · 1 comment
Open

LinkedIn Public API Access #12

karan-bhatt opened this issue Jan 8, 2021 · 1 comment

Comments

@karan-bhatt
Copy link

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
}

@SarthakGz
Copy link

@karan-bhatt would be able to achieve this somehow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants