简体   繁体   English

如何使用LinkedIn API查找其他用户资料

[英]How can I find a different user profile using the LinkedIn API

What I want to do is use the LinkedIn API to access a arbitrary user profile, get the image (if there is a public one) and use that image. 我要做的是使用LinkedIn API访问任意用户个人资料,获取图片(如果有公开图片)并使用该图片。 If a user is authenticated, I can get their image using: 如果用户通过了身份验证,我可以使用以下方法获取其图像:

https://api.linkedin.com/v1/people/~:(picture-url)?format=json

But I cannot figure out what to replace the tilda ( ~ ) with to find an arbitrary user (ie using an email address). 但是我不知道用什么替换tilda( ~ )来找到一个任意用户(即使用电子邮件地址)。 If I simply put in the email address, it won't find the user. 如果我只是输入电子邮件地址,它将找不到用户。

Is it possible to get info from an arbitrary user profile (assuming that it is public)? 是否可以从任意用户个人资料中获取信息(假设它是公开的)?

Thanks, Scott 谢谢,斯科特

It is not possible getting an arbitrary user informations by using LinkedIn API. 使用LinkedIn API不可能获得任意的用户信息。 The user must authenticate the application by his or her username and password. 用户必须通过其用户名和密码来验证应用程序。

However, this answer gives a working example how to access a profile by url. 但是, 此答案给出了一个有效的示例,说明如何通过url访问配置文件。 I suppose that adding picture-url will work. 我想添加picture-url将起作用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用Linkedin API获取用户的LinkedIn个人资料网址 - How Can I Get User's LinkedIn Profile Url using Linkedin API 如何使用linkedin API获取linkedin上的个人资料的网址 - How can I get the url of a profile on linkedin using the linkedin API 使用 Linkedin API,如何获取用户的个人资料统计信息或活动? - Using Linkedin API, how can I get the user's profile statistics or activity? 查找linkedin配置文件,使用linkedin api和nodejs - Find linkedin profile, using linkedin api with nodejs 使用LinkedIn API显示LinkedIn个人资料照片和用户个人资料 - Display LinkedIn profile photo and user profile using LinkedIn API 我可以使用他们的 API 显示我的 LinkedIn 个人资料信息吗? - Can I show my LinkedIn profile information using their API? 如果我们具有该用户的个人资料ID,则如何使用LinkedIn Javascript API获取其他用户的个人资料详细信息 - How to fetch profile details of another user using LinkedIn Javascript API, if we have profile id of that user 使用LinkedIn API中的Oauth 2.0获取用户配置文件 - Get user profile using Oauth 2.0 from LinkedIn API 我可以通过API获得Linkedin个人资料的活动状态吗? - Can I get Linkedin profile active status via API? 如何通过Javascript API检索linkedin用户的完整资料 - How to retrieve full profile of linkedin user via Javascript API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM