0
我試圖通過LinkedIn SDK找到用戶的所有信息,如個人資料圖片等,我目前得到以下,但我有點卡住如何獲得更多信息它的任何想法?LinkedIn完整信息訪問+ SDK
$('.btn_linkedin').click(function(e){
e.preventDefault();
console.log('Apply');
IN.Event.on(IN, "auth", getProfileData);
})
// Handle the successful return from the API call
function onSuccess(data) {
console.log(data);
}
// Handle an error response from the API call
function onError(error) {
console.log(error);
}
// Use the API call wrapper to request the member's basic profile data
function getProfileData() {
IN.API.Raw("/people/~").result(onSuccess).error(onError);
}