Goodreads Developers discussion
questions
>
What is a user_id?
date
newest »

message 1:
by
Tim
(new)
Jun 26, 2013 10:12AM

reply
|
flag

I'd typical get it from looking at a user's profile url, but it's returned as part of many API calls also.

However, I still seem to be having problems getting the "json with callback" example shown on the API page to work. I've seen on some of the other threads that you've mentioned that some parts of the API documentation are out of date, is that section still valid?
To be more specific about my problem, if I insert my user_id into the example URL it would be "http://www.goodreads.com/book/isbn?ca...", but no matter how I make the request this URL always seems to redirect to the book page "http://www.goodreads.com/book/show/53..." instead of giving me anything useful. Is there something I'm missing here? I was under the impression that this was simply reading data and not writing to a private account so OAuth was not required, am I incorrect to think this?


However I believe what my problem was is that I had not yet applied for a developer key. I didn't actually have to append my developer key to the query (as stated in your docs for book.show_by_isbn) but I guess I needed to have it set up and attached to my user_id because now that URL that was not working yesterday is now working.
Anyway, thank you for your help, Michael. You guys have a nice API but I hope you get time to improve the documentation and add more json endpoints soon :)