Linkedin API获得公开资料

时间:2016-04-08 16:17:44

标签: rest linkedin linkedin-api

我正试图从id获取public-profile-url。查询如下所示:

https://api.linkedin.com/v1/people/url={https://www.linkedin.com/in/name}

然而,我从Linkedin获得的是:

<error>
 <status>400</status>
 <timestamp>1460131755319</timestamp>
 <request-id>2OV9FJ0DTR</request-id>
 <error-code>0</error-code>
 <message>[invalid.param.url]. Public profile URL is not correct,
 {url=}; should be {https://www.linkedin.com/pub/[member-name/]x/y/z} or
 {https://www.linkedin.com/in/string}</message>

有趣的部分是:

Public profile URL is not correct, {url=}; should be {https://www.linkedin.com/pub/[member-name/]x/y/z} or {https://www.linkedin.com/in/string}

url明显遵守他们提到的规则并且网址有效。有关如何修复的想法吗?

0 个答案:

没有答案