Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get r_liteprofile and r_emailaddress - api.linkedin.com/v2

How to get email address and lite profile from linkedIn api v2 (api.linkedin.com/v2)

Can not get email from https://api.linkedin.com/v2/me?oauth2_access_token=xxxx

Requested &scope=r_emailaddress%20r_liteprofile

like image 850
CaSpEr Avatar asked Dec 19 '18 16:12

CaSpEr


People also ask

Is LinkedIn API public?

Linkedin is aware of its data value and turned off public access to their API since 2015.

How do I get LinkedIn API data?

If you want to use the API to present this information, your users need to authenticate with LinkedIn and then you can make the call on their behalf. This is probably easiest to do using the Javascript framework.


1 Answers

you need to make a separate call

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

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

like image 165
Jonathan Lee Avatar answered Oct 02 '22 15:10

Jonathan Lee