How to get user connection details on my website u

2019-09-06 15:12发布

问题:

I am trying to get user connection details on my website using JavaScript LinkedIn api. Whenever I request the connection details it gives me this error in my console:

https://api.linkedin.com/v1/people/~/connections: 403 Forbidden.

This link opens an XML file.

I am receiving user basic profile details for eg: it's firstname, lastname, email address, no. of connections, headline, id etc but could not get its connection details. I made a little research and found out that I need to get an application permission from linked for getting the connection details. Is this correct?

回答1:

well you need refer LinkedIn developer REST API guide https://developer.linkedin.com/docs/rest-api#