Goodreads Developers discussion
bugs
>
book.show API call redirecting to mobile web on mobile device
date
newest »


http://www.goodreads.com/book/show/[[....xml?key=[[APP_KEY]]&page=[[PAGE_NUM]]


Let's say we have three users: Aaron, Beatrice, and Clyde.
Aaron is friends with Beatrice and Clyde. Aaron has set his profile to public.
Beatrice is friends with Aaron, but not Clyde. Beatrice has set her profile to private.
Clyde is friends with Aaron, but not Beatrice. Clyde has a public profile.
When Aaron signs in, he can see the books that both Beatrice and Clyde have put on their shelves, as well as reviews for those books.
When Beatrice signs in, she can see the books that both Aaron and Clyde have put on their shelves, as well as reviews for those books.
When Clyde signs in, he can see the books that Aaron has put on his shelves, as well as the reviews for those books. He is not able to view the books on Beatrice's shelves (they are not friends) nor is he able to see the reviews she has written for those books.
That was my assumption. Based on your comment, I take it that all reviews, regardless of your profile settings, are public. So in that case, while Clyde could not request the list of books on Beatrice's shelves, if he were to view book reviews for a book that Beatrice has reviewed, he might see her review.

"Based on your comment, I take it that all reviews, regardless of your profile settings, are public." other than that setting, this is correct.
We have private profiles, but not private reviews. Sorry this is confusing.

Based on that, I do think there is a bug on the book.show request when signed from a mobile device. When I leave my book.show request unsigned, I get back xml. When I sign the book.show request I receive the HTML for the mobile version of that book's web page.

"format=xml" -- is this an undocumented option on all requests? If so, it would be fairly simple for me to add it to all of my calls.
method from a mobile device are getting redirected to the mobile page for the book rather than returning the expected xml. Requests to the same URL from a desktop machine receive XML as expected.