tags:

views:

199

answers:

1

I'm developing a web-app which is similar to stackoverflow. And I need to implement some "LinkedIn" button for each question/answer which should update user's status in LinkedIn to smth like "Reading: [title of a question] ([url to a question])".

I have found that request like

http://www.linkedin.com/status?statusText=Reading%20smth...&save=Save&revisionParam=2

does this, but... revisionParam must be equal current revisionParam+1, but I do not khow current value of revisionParam :(.

Can someone help me with whis?

A: 

You can first read the homepage of the user, and read the the revisionParam from the page. The you can get he next revision that should be submitted

Another option

If you register to the linkedin API, there is an update status method, see here

David Rabinowitz