Goodreads Developers discussion
questions
>
Know if a resource has been liked
date
newest »
newest »
There will be tag <liked>true</liked>, which will be present in the XML of the resource if the thing is liked.
If it's not liked, the tag will not be there.
If it's not liked, the tag will not be there.
I just tried out the updates.friends and user.show method for updates and had two issues:- there is no id field for the updates (unless it's the integer at the end of the url)
- I did not get the tag for updates I already liked through the website
Can you help?
it might not be part of those api responses. Can you please post those two responses? Make sure to black out sensitive info.
Here it is
(I liked the first "readstatus" update on GoodReads but there is no "liked" tag, nor an ID to be able to like it using the API)
Thanks Peter. Looks like is not getting included. I'll open a ticket for that.
As for the id field, to like an update's resource, the like should happen on the resource, not the update. For example, if there's an update for a read_status, you'd need to pass the read_status id to the like api endpoint. You'll notice inside your posted output that there is an node inside ...that's what you would use.
As for the id field, to like an update's resource, the like should happen on the resource, not the update. For example, if there's an update for a read_status, you'd need to pass the read_status id to the like api endpoint. You'll notice inside your posted output that there is an node inside ...that's what you would use.
Hi, i'll like to say that the "friend" update type is not comming with a review id, so i can't get liked an update of this type.



In your API you provide a way to like and a way to unlike a resource, but you do not provide a way to know if the user has already liked tge resource (let's say a friend's status update) in order to provide him the choice to unlike it; am I missing something?