问题
When I used the following API, it returns only firstname, lastname and id datas: https://api.linkedin.com/v2/me
It does not return data such as position and headline.
When I look at the documentation, it should return all the data. https://developer.linkedin.com/docs/guide/v2/people/profile-api
When I try the following api, it is doing the same thing, it returns only the first name, lastname and id :
https://api.linkedin.com/v2/me?projection=(id,firstName,lastName,maidenName,phoneticFirstName,phoneticLastName,headline,location,industryName,summary,specialties,positions,profilePicture(displayImage~:playableStreams),vanityName,lastModified,organizations)
回答1:
https://api.linkedin.com/v2/me will return : firstName,lastName,profilePicture,id
r_emailaddress will return : emailAddress
for position and headline or for calling : https://developer.linkedin.com/docs/guide/v2/people/profile-api - you have to apply for r_basicprofile to Linkedin because there information not available in V2 r_liteprofile
Check this : https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/migration-faq?context=linkedin/consumer/context
来源:https://stackoverflow.com/questions/54074294/linkedin-v2-me-api-does-not-return-position-value