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.
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.
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?
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.
No, hasta donde puedo decir, el webhook post_liked nunca se agregó. En mi opinión, post_liked es un dato de poco valor para justificar el esfuerzo de activar un webhook.
La comunidad con la que trabajaba cuando escribí esa publicación tiene un procedimiento para exportar periódicamente la actividad mediante el plugin Data Explorer y luego importarla a su panel de seguimiento externo. Funciona bastante bien y permite hacer algo de mantenimiento antes de la importación (por ejemplo, eliminar actividad en categorías privadas)… simplemente no es inmediato.
Dicho esto, no lo he probado personalmente desde hace un tiempo. Parece que hay una opción llamada “Evento de notificación” que podría funcionar. Los usuarios reciben una notificación cuando se les da me gusta a sus publicaciones, a menos que hayan silenciado el tema.
¡Te sugiero que inicies una instancia de Discourse y lo pruebes! Cuéntanos cómo te va.
El evento de notificación funciona, pero lamentablemente no cuando se aplica un filtro por categoría. En un escenario en el que solo nos interesaran los “me gusta” en una categoría específica, esto generaría mucho ruido.
Soy nuevo en Discourse, pero he investigado un poco y no he logrado encontrar nada similar. Tendré que explorar más a fondo para ver si hay una mejor manera de hacerlo.
Lo siento, el tema es un poco antiguo, pero también es lo que quería implementar. Algo como post_liked en la publicación del OP sería muy útil. ¿Alguna idea?