简体   繁体   English

我可以仅通过一个 api 请求获取linkedin 的名字、姓氏、电子邮件和个人资料图片吗?

[英]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.

相关问题 我如何在反应中将名字/姓氏更改为名字/姓氏? 问题是它来自后端 - how can i change firstname/lastname to firstName/lastName in react? the problem is that it comes from the backend 我可以部分显示我的内容(显示名字而不是名字和姓氏) - I can partially display my content (displaying firstName instead of firstName and lastName) 我可以通过API获得Linkedin个人资料的活动状态吗? - Can I get Linkedin profile active status via API? 我可以使用他们的 API 显示我的 LinkedIn 个人资料信息吗? - Can I show my LinkedIn profile information using their API? 当我记录 mixCategory 是 firstName[object Object]lastName,如何在字符串中插入图标 - When I log mixedCategory is firstName[object Object]lastName, How to insert icon inside a string 如何在 mui 数据表的同一列中显示名字和姓氏? - how do i display firstname and lastname in same column in mui data tables? 在哪里可以更改react-admin标头中的个人资料图片? - Where I can change the profile picture in the react-admin header? API Fetch 只更新一条数据 - API Fetch update only one data 如何获取 API? - How can I fetch API? 如何将此 axios API 请求更改为 React 应用程序的 fetch() function 请求? - How can I change this axios API request into a fetch() function for a React app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM