问题
It's possible to retrieve first level contacts of one of my LinkedIn contacts using LinkedIn API.
If i pass one of my contacts name or email, it is possible to retrieve his/her first level contacts, i'm using PHP as my development platform.
Help is highly welcome!
回答1:
You can only search for 2nd level/degree connections with the People Search API, and you need approval before you can use it. There is no way to get a full list of all 2nd level connections without search parameters.
Search for "facets" in the API docs, especially with the value "S" (Second Degree Connections).
回答2:
The profile fields for the LinkedIn API are documented here: https://developer.linkedin.com/documents/profile-fields
As you can see, connections are not available for second degree (or further) connections, only for the logged-in and authenticated user.
来源:https://stackoverflow.com/questions/11465768/retrieve-second-level-contacts-linkedin-api