通过搜索LinkedIn获取公开个人资料

时间:2018-03-25 09:52:12

标签: ios swift xcode linkedin linkedin-api

我想通过提供姓名,姓氏,电子邮件或电话号码来搜索其他用户,并获取其他用户公开个人资料网址

我目前正在使用Api请求

执行此操作

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

但是得到错误 “访问人员搜索被拒绝。”

那么我如何实现我想要的结果来获取其他用户设置的公开个人资料网址

1 个答案:

答案 0 :(得分:0)

API已更改为版本2,因此Profile API的使用现在为。

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

您可以找到有关其Profile API v2 here

的更多信息

您将需要一个访问令牌才能访问配置文件api,而无需使用auth密钥

{"serviceErrorCode":401,"message":"Empty oauth2 access token","status":401}
相关问题