# Getting who liked a post from the API

**URL:** <https://meta.discourse.org/t/getting-who-liked-a-post-from-the-api/103618>\
**Category:** Development\
**Created:** [December 6, 2018, 1:15pm UTC](https://meta.discourse.org/t/getting-who-liked-a-post-from-the-api/103618 "2018-12-06T13:15:24Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![leonardo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leonardo/32/228634_2.png) [@leonardo](https://meta.discourse.org/u/leonardo)\
**Post date:** [May 18, 2022, 4:32pm UTC](https://meta.discourse.org/t/getting-who-liked-a-post-from-the-api/103618/10 "2022-05-18T16:32:39Z")

</div>

hello Paige!

The post with ID 31 is a small post action for pinning the topic globally (ie. `Post.find(31).action_code == 'pinned_globally.enabled'`), and those posts can’t be interacted with like normal posts, so there’s no way it can have likes.

There is only one regular post in that topic, but it does not have any likes either.

Try Post 33 - that one does have likes and you can see them serialized here:

[https://discuss.blues.io/post\_action\_users.json?id=33&post\_action\_type\_id=2](https://discuss.blues.io/post_action_users.json?id=33&post_action_type_id=2)

---

_[View the full topic](https://meta.discourse.org/t/getting-who-liked-a-post-from-the-api/103618)._
