Goodreads Developers discussion

79 views
Running into an issue following the Ruby tutorial

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

message 1: by Thomas (new)

Thomas Wija (tomwija) | 2 comments Hi there,

I'm trying to follow the ruby tutorial on how to use OAuth, but when I get to the part where I write the code to add a review for a specific book I run into trouble, specifically with parsing the URI they give us:

http://www.goodreads.com/api/book_url...

(replacing YOUR_KEY with my key of course) All I get is a "The page you have requested doesn't exist" page, what's causing this?


message 2: by Jeffrey (new)

Jeffrey (jeffwong) | 74 comments Mod
Hi Thomas,

What Ruby tutorial are you referring to?

That doesn't look like a valid URL. Perhaps it was when the tutorial was written.

The way to search for books by title is this:

https://www.goodreads.com/api/index#s...


message 3: by Thomas (new)

Thomas Wija (tomwija) | 2 comments Ah thanks Jeff, I'll give the way you linked a try.

The tutorial I was following was this one: https://www.goodreads.com/api/oauth_e...

The part in question is under the heading "Adding a Review"


message 4: by Ettore (last edited May 11, 2015 10:36AM) (new)

Ettore Pasquini I suspect those docs are old... I can't find the /api/book_url endpoint in our current docs. I filed a ticket to fix it (IOS-2995).

For the time being, i'd do what Jeff suggested, and use the search endpoint instead of the /api/book_url endpoint.


back to top