Skip to content

Instantly share code, notes, and snippets.

@getvega
Last active December 24, 2015 23:49
Show Gist options
  • Save getvega/6882921 to your computer and use it in GitHub Desktop.
Save getvega/6882921 to your computer and use it in GitHub Desktop.
// 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