Last active
December 24, 2015 23:49
-
-
Save getvega/6882921 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Using library https://github.com/justinwalsh/linkedin-js | |
this.api.apiCall('POST', '/people/~/following/companies', | |
{ | |
oauth_token_secret: this.socialAccount.token_secret, | |
oauth_token: this.socialAccount.token | |
}, | |
{ | |
id: account.id | |
}, | |
callback | |
); | |
// error returned by the rest api : | |
{ | |
"errorCode": 0, | |
"message": "Internal service error", | |
"requestId": "B2L3EO6VAN", | |
"status": 500, | |
"timestamp": 1381227857974 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment