[英]LinkedIn Javascript API: Trouble passing id multiple IDs to IN.API.Profile
[英]How to get company details using IN.API.Profile(“me”) Javascript API Call
我正在嘗試使用Linkedin JavaScript API調用獲取公司詳細信息和學術詳細信息。
這是代碼:
IN.API.Profile("me")
.fields([
"firstName","lastName","headline","positions:(company)","industry",
"location:(name)","pictureUrl","publicProfileUrl","emailAddress",
"educations","dateOfBirth"])
.result(function(result) {
console.log('inside onLinkedInLogin=============>');
console.log(result);
setLoginBadge(result.values[0]);
})
.error(function(err) {
alert(err);
});
有關教育的完整詳細信息,包括學位,截止日期,fieldOFStudey,id,學校名稱,startDate等...
但是對於職位,我只有公司的ID和名稱。
我想從位置名稱(例如“ consultant”和startDate,endDate,當前位置等)中獲取更多詳細信息...
任何幫助將不勝感激。
我自己進行了一些研究后發現,希望對您有所幫助。
IN.API.Profile("me")
.fields([
"firstName","lastName","headline","positions:(company,title,summary,startDate,endDate,isCurrent)","industry",
"location:(name,country:(code))","pictureUrl","publicProfileUrl","emailAddress",
"educations","dateOfBirth"])
.result(function(result) {
console.log('inside onLinkedInLogin=============>');
console.log(result);
setLoginBadge(result.values[0]);
})
.error(function(err) {
alert(err);
});
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.