从URL LinkedIn API检索档案 [英] Retrieve Profile from LinkedIn API by URL
问题描述
由于 API建议我应该能够进入我的(或任何其他人的)采用公开个人资料网址的个人资料信息。但是,使用休息控制台我一直没能得到正确的结果。
我已经尝试了这两种:
<$c$c>http://api.linkedin.com/v1/people/url=http%3a%2f%2fwww.linkedin.com%2fpub%2falireza-noori%2f51%2fa99%2fba9$c$c>
<$c$c>http://api.linkedin.com/v1/people/url=http%3a%2f%2fwww.linkedin.com%2fpub%2falireza-noori%2f51%2fa99%2fba9:public$c$c>
他们没有工作。结果是这样的:
&LT;?XML版本=1.0编码=UTF-8&GT?;
&LT;错误&GT;
&LT;状态&gt; 401 LT; /状态&gt;
&LT;&时间戳GT; 1348521763449&LT; /时间戳&GT;
&lt;请求-ID&GT; 6MGM1IK1U7&LT; /请求-ID&GT;
&LT;无差错code&GT; 0℃; /无差错code&GT;
&LT;&消息GT;未经授权的。 OAU:w_vW1JF73R-J97_wH3_Iut3i7kL9netWMe90_OMcAkI9mVWggQzip-ssCmwKWyJU|*01|*01|*01:1348521763:ZN/JXOqHRNm4wKsDX+vzlbSC3yY=</message>
&LT; /错误&GT;
这看起来与REST控制台的一个问题:
https://developer.linkedin.com/comment/16197#comment-16197
As the API suggests I should be able to access my (or any other person's) profile information using public profile URL. However, using the Rest console I haven't been able to get the correct result.
I've tried both of these:
http://api.linkedin.com/v1/people/url=http%3a%2f%2fwww.linkedin.com%2fpub%2falireza-noori%2f51%2fa99%2fba9
http://api.linkedin.com/v1/people/url=http%3a%2f%2fwww.linkedin.com%2fpub%2falireza-noori%2f51%2fa99%2fba9:public
None of them worked. The result is this:
<?xml version="1.0" encoding="UTF-8"?>
<error>
<status>401</status>
<timestamp>1348521763449</timestamp>
<request-id>6MGM1IK1U7</request-id>
<error-code>0</error-code>
<message>[unauthorized]. OAU:w_vW1JF73R-J97_wH3_Iut3i7kL9netWMe90_OMcAkI9mVWggQzip-ssCmwKWyJU|*01|*01|*01:1348521763:ZN/JXOqHRNm4wKsDX+vzlbSC3yY=</message>
</error>
This looks like an issue with the REST Console:
https://developer.linkedin.com/comment/16197#comment-16197
这篇关于从URL LinkedIn API检索档案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!