Goodreads Developers discussion

29 views
bugs > Getting unauthorized in API calls

Comments Showing 1-1 of 1 (1 new)    post a comment »
dateUp arrow    newest »

message 1: by Amir (new)

Amir | 2 comments Hi,

I have a script that sends my reading from xml file to goodreads, but it's months it could not work. The workflow is, I register my client and save request_token and request_token_secret in a file. On next calls, I just read back request_token and request_token secret and create OAuth session but then I'll get unauthorized errors. So, to be more clear, the first request after giving permission to request_token will work but next requests will fail. So I should renew request_tokens for each API call and visit authorization page to call multiple APIs.

I'm using rauth python library. I think something changed in goodreads and expects some cookie (other than request tokens) being set, since my code were working for years and I didn't change anything.


back to top