2014-10-08 55 views
0

前幾天Linkedin Javascript簡介API停止正常工作。現在它不會返回一些字段,即使我要求他們。我無法得到總結,獎勵,職位公司名稱總稱和標題。可以enyone告訴發生了什麼?Linkedin Javascript簡介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你可以看到,即使我的概要信息請求它不會響應返回。

+0

您的示例網址傳回領域,如我的位置(你說你無法檢索)。由於我的個人資料中沒有他們,因此無法驗證摘要或獎勵。 – 2014-10-13 00:40:09

+0

職位不會返回除日期和公司ID之外的任何信息。而這個問題只涉及JavaScript API。使用oauth2訪問令牌的REST API工作正常。 – 2014-10-15 13:16:19

+0

它似乎工作正常 – Amy 2014-10-18 07:05:43

回答

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.

+0

我沒有檢索連接,我需要用戶配置文件。至於配置文件,它使用這個網址API: https://api.linkedin.com/v1/people::(~):(id,summary,email-address,location:(name),date-of-irth ,名字,姓氏) – 2014-10-12 09:04:31

+0

而且帖子的時間是2011年7月20日,而且我在一週前開始出錯。在這一天之前,所有的工作都很好。 – 2014-10-12 09:05:41