I'm using tornado web server and to integrate linkedin in my application I'm using the LinkedinMixin class that I add to the framework from an unofficial code in github. All is working perfectly, but I would like to be able to use the share api
POST http://api.linkedin.com/v1/people/~/shares
The linkedin API is in XML, this is the reason why it's sometimes difficult to integrate it in tornado
https://developer.linkedin.com/documents/api-requests-json
I found this article which tell me to send
{
"contentType":"linkedin-html",
"body":"My Fancy Update"
}
to post an update but it sends me a HTTP 401: Unauthorized fetching http://api.linkedin.com/v1/people/~/shares?...
I would like to know if someone knows another version of linkedinMixin that this one : https://github.com/facebook/tornado/pull/236/files
And if someone could give me a complete example of share API using JSON
Thanks,