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

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

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

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

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

こんにちは、

すみません、再度ご連絡しました。この件について進展はありましたか?私も同様のことを検討しています。

「いいね!」 1

こんにちは、ようこそ!こちらに来てくれて嬉しいです。

いいえ、私の知る限り、post_liked の webhook は追加されたことはありません。正直なところ、post_liked は、わざわざ webhook を発火させるほどの価値のある情報ではないと思います。

私がその投稿を書いた当時、一緒に働いていたコミュニティでは、Data Explorer プラグインを使って定期的にアクティビティをエクスポートし、それを外部の追跡ダッシュボードにインポートするという手順を踏んでいました。これは非常にうまく機能し、インポート前に少し調整(例えば、非公開カテゴリのアクティビティを削除するなど)を行うことも可能です。ただし、即時的ではありません。:slight_smile:

とはいえ、私は最近この機能自体を触っていません。「通知イベント」というオプションがあるようですが、これが機能するかもしれません。ユーザーはトピックをミュートしていない限り、自分の投稿に「いいね」がついた際に通知されます。

Discourse インスタンスを立ち上げて、実際に試してみることをお勧めします!:slight_smile:
結果を教えてくださいね。

「いいね!」 2

トビアスさん、こんにちは。

迅速なご返信、ありがとうございます!

通知イベントは機能しますが、カテゴリフィルターを適用すると残念ながら動作しません。特定のカテゴリの「いいね」のみに関心があるというシナリオでは、これは非常にノイズが多くなります。

Discourse は初心者ですが、少し調査したところ、これに似た機能は見つかりませんでした。より良い方法があるかどうか、さらに深く探ってみる必要があります。

申し訳ありませんが、トピックは少し古めですが、私が実装したい内容でもあります。OP の投稿に「post_liked」のような機能があると非常に役立ちます。何かアイデアはありますか?