linkedin get email address api code example
Example: linkedin api v2 get email address
// This won't give you the email
'/v2/me?projection=(id,firstName,lastName,profilePicture(displayImage~:playableStreams))'
// This will do:
'https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))'
/* !!!!!!!!!!!!!!!!!!!!!!!!!
* Make sure to add "scope=r_emailaddress" when you give use the authentification url
*/