Skip to content

Instantly share code, notes, and snippets.

@sunils34
Created July 25, 2013 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sunils34/6084286 to your computer and use it in GitHub Desktop.
Save sunils34/6084286 to your computer and use it in GitHub Desktop.
Description of API request that receives a Linkedin 500 (Internal service error).
//URL: https://api.linkedin.com/v1/people/~/shares
//Request params:
Array
(
[content] => Array
(
[submitted-url] => http://forestnation.com/
[title] => Imagine ForestNation
[submitted-image-url] => http://forestnationcdn.forestnation.netdna-cdn.com/wp-content/uploads/2013/05/FN-World-150.png
[description] => Imagine a world where everyone grows their own tree. You plant one We plant one - Imagine ForestNation.
)
[comment] => http://buff.ly/1bnhrmc
[visibility] => Array
(
[code] => anyone
)
)
//Returned Response:
stdClass Object
(
[errorCode] => 0
[message] => Internal service error
[requestId] => 9BLDLUVC4A
[status] => 500
[timestamp] => 1374790407841
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment