Goodreads Developers discussion
questions
>
Follow a user
date
newest »


I did a POST call to
POST /user/2450538/followers HTTP/1.0 Host: www.goodreads.com User-Agent: Drupal (+http://drupal.org/) Content-Length: 0 Authorization: OAuth oauth_version="1.0",oauth_nonce="e36e747bece651eee2f83755d970866b",oauth_timestamp="1328879612",oauth_consumer_key="DELETED",oauth_token="vBIkV8jtucKKYTvAd8rvHQ",oauth_signature_method="HMAC-SHA1",oauth_signature="GFrYGtvL3BG4AnQIVwS76oLR1UQ%3D"
Got an 200 OK response, but the data returned would seem to indicate an error:
$("follow_container_user_2450538").update("Something went wrong! Follower can't be blank");
And it doesn't seem like the person I was trying to follow (one of the other members of this group) appears on my list of people I'm following on the Goodreads site.

OAUth POST URL => http://www.goodreads.com/user/2450538...
returns error 400: Unprocessable Entity


It says
"Start following a user using OAuth. You'll need to You'll need to register your app (required).
URL: http://www.goodreads.com/user//follow...
HTTP method: POST
Parameters:
• id: Goodreads user id of user to follow"
Do you pass the user id of who you want to follow in the part of the URL?
Or do you pass the user id of who you want to follow as the id parameter? If you pass it as a parameter, what should be put in the part of the URL?