linkedin / linkedin/linkedin.github.com

LinkedIn Public API Access

Open
#12 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
67
Forks
50
PR merge metrics
No merged PRs in 30d

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
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the authorization and access-token URLs in the issue, then compare the requested /v2/people/(id:{}) call with the reported 403 response. Done would require a documented, reproducible resolution for the permission failure, but the issue does not identify a repository file or test to change.

Written by the indexing model from the issue text.

Assessment

Domain
api, authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.