简体   繁体   中英

Can I fetch firstname,lastname,email and profile picture of linkedin with only one api request?

How can I fetch first name,last name,email and profile picture of LinkedIn with only one API request? #linkedin

No, email needs a different request as of their documentation

GET https://api.linkedin.com/v2/me will get you first and last name and profile picture.

GET https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~)) will get you email address.

You need to request the user for r_liteprofile permission for the first request and r_emailaddress for the second during the Authenticating process .

https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin?context=linkedin/consumer/context

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM