如何使用Linkedin API获取用户的LinkedIn个人资料

时间:2017-08-18 16:02:42

标签: javascript api linkedin linkedin-api linkedin-jsapi

我有用户的名字,姓氏和公司名称。如何获取该用户的Linkedin个人资料网址?使用Linkedin API 感谢

1 个答案:

答案 0 :(得分:0)

这应该可行,只需将onLinkedInAuth方法更改为此

即可
function onLinkedInAuth()
{
IN.API.Profile("me")
.fields("firstName", "lastName", "industry", "location:(name)", "picture-url", "headline", "summary", "num-connections", "public-profile-url", "distance", "positions", "email-address", "educations", "date-of-birth")
.result(displayProfiles)
.error(displayProfilesErrors);
}