[英]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?如何仅通过一个 API 请求获取 LinkedIn 的名字、姓氏、电子邮件和个人资料图片? #linkedin
#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/me
将获取您的姓名和个人资料图片。
GET https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
will get you email address. GET https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))
会得到你的电子邮件地址。
You need to request the user for r_liteprofile
permission for the first request and r_emailaddress
for the second during the Authenticating process .您需要请求用户
r_liteprofile
权限的第一个请求,并r_emailaddress
在第二身份验证过程。
https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin?context=linkedin/consumer/context https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin?context=linkedin/consumer/context
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.