# Post\_liked webhook?

**URL:** https://meta.discourse.org/t/post-liked-webhook/84384
**Category:** Feature
**Created:** [April 2, 2018, 3:05pm UTC](https://meta.discourse.org/t/post-liked-webhook/84384 "2018-04-02T15:05:10Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![rbrlortie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rbrlortie/32/166740_2.png) [@rbrlortie](https://meta.discourse.org/u/rbrlortie)
#### Post date: [April 2, 2018, 3:05pm UTC](https://meta.discourse.org/t/post-liked-webhook/84384/1 "2018-04-02T15:05:10Z")

</div>

Hi,

We are adding Discourse as a forum to a system which tracks user actions and award points. Our system tracks content creation and interaction.

We successfully used webhooks to track post & topic creation but there doesn’t seem to be anything for post\_liked and topic\_liked.

Is this planned down the road? Has it been attempted but turned down out of stability/performance issues?

How easy would it be to customize webhooks?

Thanks!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 3, 2018, 2:12am UTC](https://meta.discourse.org/t/post-liked-webhook/84384/3 "2018-04-03T02:12:59Z")

</div>

I am kind of open to this, in other cases like flagging which is also a post action this makes total sense, cause alerting an external system when a post is flagged is super useful.

I have some concerns around load this can generate though cause there can be tons of likes.

---

<div class="post-metadata">

### Author: ![rbrlortie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rbrlortie/32/166740_2.png) [@rbrlortie](https://meta.discourse.org/u/rbrlortie)
#### Post date: [April 3, 2018, 4:33pm UTC](https://meta.discourse.org/t/post-liked-webhook/84384/5 "2018-04-03T16:33:53Z")

</div>

I’m thinking that since webhooks on post/topics creations are passing a lot of data very often without that much impact on performance, there shouldn’t be that much issues with likes. They can happen as often as new posts and the payload is going to be smaller (post id, user id, like/unlike action, total likes).

But I could be totally wrong about it. I’ve not explored Discourse’s source much.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [May 9, 2019, 6:39pm UTC](https://meta.discourse.org/t/post-liked-webhook/84384/11 "2019-05-09T18:39:21Z")

</div>

I’m with Kara and am just looking into this. We track engagement stats in another system, and currently import forum activity on a monthly basis. Using a webhook for this would obviously speed things along for us.

Has a post\_liked webhook ever been made available?

---

<div class="post-metadata">

### Author: ![rbrlortie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rbrlortie/32/166740_2.png) [@rbrlortie](https://meta.discourse.org/u/rbrlortie)
#### Post date: [June 13, 2019, 4:02pm UTC](https://meta.discourse.org/t/post-liked-webhook/84384/12 "2019-06-13T16:02:07Z")

</div>

It’s been a while already and we are a big team so I don’t remember the exact solution. I believe that a custom webhook was developed by a member of our team.

---

<div class="post-metadata">

### Author: ![othomson](https://avatars.discourse-cdn.com/v4/letter/o/76d3ee/32.png) [@othomson](https://meta.discourse.org/u/othomson)
#### Post date: [July 29, 2020, 5:46pm UTC](https://meta.discourse.org/t/post-liked-webhook/84384/14 "2020-07-29T17:46:18Z")

</div>

Hi,

Sorry to bump. Did you have any luck with this? I’m looking at doing something similar.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [July 29, 2020, 6:43pm UTC](https://meta.discourse.org/t/post-liked-webhook/84384/15 "2020-07-29T18:43:22Z")

</div>

Hello and welcome! Glad to have you here.

No, as far as I can tell this post\_liked webhook never was added. I think post\_liked is a fairly low value bit of information to go to the trouble of firing a webhook, tbh.

The community I was working with when I wrote that post has a procedure to periodically export activity via the [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin and then import it to their external tracking dashboard. Works quite well and allows a bit of gardening before import (e.g. to remove activity in private categories).. just isn’t immediate. 🙂

That said, I haven’t played with this personally for a while. Looks like there is a “Notification event” option which might work. Users are notified when their posts are liked unless they muted the topic.

I’d suggest spinning up a discourse instance and trying it out! 🙂 Let us know how it goes.

 ![Screen Shot 2020-07-29 at 11.40.08 AM](https://global.discourse-cdn.com/meta/original/3X/1/3/13ebcef6d20712d87fc7e5fca50b4fc7aa270cda.png)

---

<div class="post-metadata">

### Author: ![othomson](https://avatars.discourse-cdn.com/v4/letter/o/76d3ee/32.png) [@othomson](https://meta.discourse.org/u/othomson)
#### Post date: [July 30, 2020, 4:24pm UTC](https://meta.discourse.org/t/post-liked-webhook/84384/16 "2020-07-30T16:24:22Z")

</div>

Hi Tobias,

Thanks for the quick response!

Notification Event works, but not when a category filter is applied sadly. In a scenario where we only cared about likes in a certain category, this would be very high noise.

I’m new to Discourse but have done a bit of research and haven’t been able to find anything similar. Will have to explore deeper to see if there’s a better way of doing this.

---

<div class="post-metadata">

### Author: ![Mgcs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mgcs/32/202507_2.png) [@Mgcs](https://meta.discourse.org/u/Mgcs)
#### Post date: [January 6, 2021, 3:07am UTC](https://meta.discourse.org/t/post-liked-webhook/84384/17 "2021-01-06T03:07:51Z")

</div>

Sorry, the topic is kinda old but it is also what I wanted to implement. Something like post\_liked on OP’s post would be very helpful. Any ideas?
