Zinal Shah
Zinal Shah

Reputation: 431

Issue to fetch Linkedin connections

I tried to fetch Linkedin connections of logged in user with below API Request,

https://api.linkedin.com/v1/people/~/connections:(id,firstName,lastName,email-address)?format=json

I got this error,

{
  "errorCode": 0,
  "message": "Access to connections denied",
  "requestId": "OFP0JOLOHO",
  "status": 403,
  "timestamp": 1438683812562
}

So how can we fetch all connections using Linkedin API?

Upvotes: 0

Views: 229

Answers (1)

Udit Narayan Sharma
Udit Narayan Sharma

Reputation: 91

please use this URL as your API Request

https://api.linkedin.com/v1/people/~:(id,num-connections,picture-url)?format=json

It works for me

Upvotes: 0

Related Questions