# Likes on a post

**URL:** <https://meta.discourse.org/t/likes-on-a-post/96396>\
**Category:** Development\
**Created:** [September 5, 2018, 9:03am UTC](https://meta.discourse.org/t/likes-on-a-post/96396 "2018-09-05T09:03:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Edwin\_Mhoy\_Silva](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/edwin_mhoy_silva/32/109980_2.png) [@Edwin\_Mhoy\_Silva](https://meta.discourse.org/u/Edwin_Mhoy_Silva)\
**Post date:** [September 5, 2018, 9:03am UTC](https://meta.discourse.org/t/likes-on-a-post/96396/1 "2018-09-05T09:03:40Z")

</div>

Do discourse keep count of who has liked which post ?  
I’m working on a method, which changes the color of the like icon, when a user have liked the post.  
I have made it so, that if a user likes a post, the “like-icon” changes from gray to red for all users.  
I only want it to change to red, if the user have liked that post.  
Is there some kind of variable or something I can use from the discourse platform?

---

_[View the full topic](https://meta.discourse.org/t/likes-on-a-post/96396)._
