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 .
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.