Wie kann ich meine eigenen Profildetails zu einer Website mit der neuesten LinkedIn JavaScript API mit Oauth 2.0 bekommen?Wie bekomme ich Profildetails zu einer Website mit Linkedin API?
Ziel ist es, die Website mithilfe des verknüpften Profils auf dem neuesten Stand zu halten.
unten versucht,
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
Ich bin nicht sicher, wie genau soll ich das tun, kann mir jemand einen Tipp geben beginnen zu erhalten? Vielen Dank!
Danke, erkundige dich das und melde dich wieder. :) –