0

几天前,Linkedin Javascript Profile API 停止正常工作。现在它没有返回一些字段,即使我要求它们。我无法获得摘要、奖励、职位公司名称摘要和职位。谁能告诉发生了什么?

<script type="text/javascript" src="http://platform.linkedin.com/in.js">
  api_key: xxxxxxxxxxxxxxx
  scope: r_basicprofile r_emailaddress r_fullprofile r_contactinfo
  authorize: true
</script>

function loadData() {
  IN.API.Profile("me")
    .fields([
"id","summary","email-address","location:(name)","date-of-birth","firstName", "lastName", 
"pictureUrl","headline","honors","educations","interests",
"publications:(title,publisher:(name),date,url)",
"patents:(title,number,office:(name),date,url)",
"languages:(language:(name),proficiency:(name))",
"skills:(skill:(name),proficiency:(name))",
"certifications:(name,authority:(name),start-date,end-date)",
"courses","recommendations-received:(recommendation-text,recommender)",
"positions","phone-numbers"])
    .result(function(result) {   
        console.log(result);
    });
}

这是此错误的工作示例http://bit.ly/1nZa9wd 您可以看到,即使我请求摘要信息,它也不会作为响应返回。

4

1 回答 1

0

某些数据无法通过 API 检索。在此处查看此演讲:https ://developer.linkedin.com/forum/connections-api-does-not-return-all-profile-fields-documented 。

它已经记录在 API 中:https ://developer.linkedin.com/documents/profile-fields

注释字段的确切报价是Not available via connections API.

于 2014-10-11T16:32:12.543 回答