![](/img/trans.png)
[英]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.