📜  linkedin api v2 获取电子邮件地址 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:12.401000             🧑  作者: Mango

代码示例1
// 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
*/