LinkedIn完全信息访问+;SDK
我试图通过LinkedIn SDK从用户那里找到所有信息,如个人资料图片等,我目前得到了以下信息,但我有点被困在如何从中获取更多信息上。。有什么想法吗LinkedIn完全信息访问+;SDK,sdk,linkedin,linkedin-api,Sdk,Linkedin,Linkedin Api,我试图通过LinkedIn SDK从用户那里找到所有信息,如个人资料图片等,我目前得到了以下信息,但我有点被困在如何从中获取更多信息上。。有什么想法吗 $('.btn_linkedin').click(function(e){ e.preventDefault(); console.log('Apply'); IN.Event.on(IN, "auth", getProfileData); }) // Handle the successful return from
$('.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);
}
找到它后,添加更多参数就成功了:)。若要获取传统字段,可以将其添加为查询参数。前
https://api.linkedin.com/v1/people/~:(id,num-connections,picture-url)?format=json