ويب هوك "Post_liked"؟

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)

مرحبًا ومرحبًا بك! سعيد بوجودك هنا.

لا، إلى حد ما أستطيع القول إن Webhook الخاص بـ post_liked لم يُضاف من قبل. أعتقد أن post_liked معلومات ذات قيمة منخفضة نسبيًا تستحق عناء إطلاق Webhook، بصراحة.

المجتمع الذي كنت أعمل معه عندما كتبت ذلك المنشور لديه إجراء لتصدير النشاط دوريًا عبر مكون Data Explorer ثم استيراده إلى لوحة تتبعهم الخارجية. يعمل بشكل جيد جدًا ويسمح ببعض التعديلات قبل الاستيراد (مثل إزالة النشاط في الفئات الخاصة)… لكنه ليس فوريًا. :slight_smile:

مع ذلك، لم أقم بتجربته شخصيًا منذ فترة. يبدو أن هناك خيارًا يُدعى “حدث الإشعار” قد يكون فعالًا. يتم إشعار المستخدمين عندما يُعجب بمنشوراتهم ما لم يقوموا بكتم الموضوع.

أقترح تشغيل مثيل من Discourse وتجربته! :slight_smile: أخبرنا كيف تسير الأمور.

إعجابَين (2)

مرحبًا توبياس،

شكرًا لك على الرد السريع!

يعمل حدث الإشعارات، لكنه لا يعمل للأسف عند تطبيق فلتر التصنيف. في السيناريو الذي نهتم فيه فقط بالإعجابات ضمن تصنيف معين، سيكون هذا ضجيجًا عاليًا جدًا.

أنا جديد في ديسكورش، لكنني قمت ببعض البحث ولم أستطع العثور على شيء مشابه. سأحتاج إلى البحث بعمق أكبر لمعرفة ما إذا كانت هناك طريقة أفضل للقيام بذلك.

عذرًا، الموضوع قديم بعض الشيء، لكنه أيضًا ما أردتُ تنفيذه. سيكون من المفيد جدًا وجود شيء مثل post_liked في منشور صاحب الموضوع. هل لديك أي أفكار؟