简体   繁体   English

通过搜索LinkedIn获取公开资料网址

[英]Get Public Profile Url by Search LinkedIn

I want to search other users by giving firstname, lastname, email, or phone number and get other user public profile url 我想通过提供名字,姓氏,电子邮件或电话号码来搜索其他用户,并获取其他用户的公开个人资料网址

I am currently doing this by using Api Request 我目前正在使用Api请求来执行此操作

https://api.linkedin.com/v1/people-search:first-name=bill&last-name=gates https://api.linkedin.com/v1/people-search:first-name=bill&last-name=gates

But getting error "Access to people search denied." 但是出现错误“拒绝访问人员搜索”。

So how do i achieve my desired result to get public profile url which other user set 那么我如何达到我想要的结果以获取其他用户设置的公开个人资料网址

There API has changed to version 2 so the usage for the Profile API would now be. 该API已更改为版本2,因此现在将使用Profile API。

https://api.linkedin.com/v2/people-search:first-name=bill&last-name=gates

you can find more information about their Profile API v2 here 您可以在此处找到有关其Profile API v2的更多信息

You will be needing an access token to access there profile api, without the auth key you will get 您将需要访问令牌才能访问那里的配置文件api,而无需auth密钥

{"serviceErrorCode":401,"message":"Empty oauth2 access token","status":401}

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM