# Get last ❤ via API

**URL:** <https://meta.discourse.org/t/get-last-heart-via-api/69163>\
**Category:** Development\
**Created:** [August 31, 2017, 6:08pm UTC](https://meta.discourse.org/t/get-last-heart-via-api/69163 "2017-08-31T18:08:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![juliano](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@juliano](https://meta.discourse.org/u/juliano)\
**Post date:** [August 31, 2017, 6:08pm UTC](https://meta.discourse.org/t/get-last-heart-via-api/69163/1 "2017-08-31T18:08:36Z")

</div>

Hello,

I want to use the Discourse API to get the last like or ❤, that was given by any user on any topic for a specific Discourse instance. Unfortunately I have not found a good way of achieving this. Trying to [crawl the latest topics](http://docs.discourse.org/#tag/Topics%2Fpaths%2F~1latest.json%2Fget) does not seem to be a good idea.

Another thing I tried was using the Discourse webhooks, but unfortunately liking something does not trigger any event, so it seems the API is the only option.

Can somebody tell me how to achieve this? Is this funcionality already built into the API?

Thanks

---

_[View the full topic](https://meta.discourse.org/t/get-last-heart-via-api/69163)._
