Post_liked Webhook?

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!

4 „Gefällt mir“

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.

6 „Gefällt mir“

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.

1 „Gefällt mir“

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?

2 „Gefällt mir“

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.

1 „Gefällt mir“

Hallo,

Entschuldigung, dass ich das nochmal aufgreife. Hattest du damit schon Erfolg? Ich überlege, etwas Ähnliches zu machen.

1 „Gefällt mir“

Hallo und herzlich willkommen! Schön, dass du hier bist.

Nein, soweit ich weiß, wurde der Webhook post_liked nie hinzugefügt. Ehrlich gesagt halte ich post_liked für eine Information von eher geringem Wert, um sich die Mühe zu machen, einen Webhook auszulösen.

Die Community, mit der ich gearbeitet habe, als ich diesen Beitrag verfasst habe, hat ein Verfahren, bei dem sie regelmäßig Aktivitäten über das Daten-Explorer-Plugin exportieren und dann in ihr externes Tracking-Dashboard importieren. Das funktioniert ziemlich gut und ermöglicht ein wenig Pflege vor dem Import (z. B. zum Entfernen von Aktivitäten in privaten Kategorien). Es ist einfach nicht sofort. :slight_smile:

Das heißt, ich habe das persönlich schon eine Weile nicht mehr ausprobiert. Es sieht so aus, als gäbe es eine Option namens „Benachrichtigungsereignis“, die funktionieren könnte. Benutzer werden benachrichtigt, wenn ihre Beiträge geliked werden, es sei denn, sie haben das Thema stummgeschaltet.

Ich würde empfehlen, eine Discourse-Instanz hochzufahren und es auszuprobieren! :slight_smile: Lass uns wissen, wie es läuft.

2 „Gefällt mir“

Hallo Tobias,

vielen Dank für die schnelle Rückmeldung!

Das Benachrichtigungsereignis funktioniert, aber leider nicht, wenn ein Kategorienfilter angewendet wird. In einem Szenario, in dem wir uns nur für Likes in einer bestimmten Kategorie interessieren, wäre das sehr verrauscht.

Ich bin neu bei Discourse, habe mich aber etwas informiert und konnte nichts Ähnliches finden. Ich muss mich tiefer einarbeiten, um zu sehen, ob es eine bessere Möglichkeit gibt, dies zu handhaben.

Entschuldigung, das Thema ist schon etwas älter, aber genau das wollte ich auch umsetzen. Etwas wie post_liked beim Beitrag des OP wäre sehr hilfreich. Habt ihr Ideen?