Goodreads Developers discussion
questions
>
Know if a resource has been liked
date
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.

- 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?




(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.

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?