Linkedin Javascript Profile API已损坏

时间:2014-10-08 07:58:22

标签: javascript api linkedin linkedin-jsapi

几天前,Linkedin Javascript Profile API正常停止工作。现在它没有返回一些字段,即使我要求它们。我无法得到总结,awwards,职位公司名称sumary和title。能告诉你发生了什么吗?

<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您可以看到,即使我请求摘要信息,也不会在回复时返回。

1 个答案:

答案 0 :(得分: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.