[英]How can I get the url of a profile on linkedin using the linkedin API
[英]How to get profile details to a website using Linkedin API?
如何使用最新的LinkedIn javascript API和Oauth 2.0将自己的个人资料详细信息发送到网站?
目标是使用链接的配置文件使网站保持最新。
尝试过以下
api_key: YOUR_API_KEY_HERE
authorize: true
onLoad: onLinkedInLoad
// Setup an event listener to make an API call once auth is complete
function onLinkedInLoad() {
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 profile data
function getProfileData() {
IN.API.Raw("/people/~:(id, first-name, skills, educations,
languages, twitter-accounts)").result(onSuccess).error(onError);
}
https://developer.linkedin.com/docs/apply-with-linkedin
我不确定我应该怎么做,有人可以给我小费开始吗? 谢谢!
我对它的JavaScript包装器实现了解不多,就像我在Java中所做的那样。 但是,这是一个使用JQuery的不错的教程,该教程使用了基本的REST实现来获取用户数据。 希望这对您有所帮助,并帮助您入门:)。 http://www.kunal-chowdhury.com/2012/08/how-to-fetch-twitter-profile-information-using-jQuery-plugin-as-json-object.html?m=1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.