|
|
|
@ -12,6 +12,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
// Setup an event listener to make an API call once auth is complete
|
|
|
|
// Setup an event listener to make an API call once auth is complete
|
|
|
|
function onLinkedInLoad() {
|
|
|
|
function onLinkedInLoad() {
|
|
|
|
|
|
|
|
console.log('load');
|
|
|
|
|
|
|
|
IN.User.authorize(lk, callbackScope);
|
|
|
|
IN.Event.on(IN, "auth", shareContent);
|
|
|
|
IN.Event.on(IN, "auth", shareContent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -43,6 +45,10 @@
|
|
|
|
.error(onError);
|
|
|
|
.error(onError);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function lk() {
|
|
|
|
|
|
|
|
console.log('login');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</html>
|