问题
The LinkedIn API refers to users by alphanumeric member token instead of numeric ids.
Is it possible to derive a linkedin profile url (public OR private) from the user token?
(Info: https://developer.linkedin.com/comment/4173#comment-4173)
回答1:
Since you are already using the API to pull the id field, why not just directly pull the public-profile-url
as well?
On the hexadecimal nature of the member id, those strings are uniquely generated on a per application basis, so there is no way to map them directly to the corresponding id number used on LinkedIn.com.
来源:https://stackoverflow.com/questions/11296484/derive-linkedin-profile-url-from-api-user-token