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.
아니, 제가 아는 한 post_liked 웹훅은 추가된 적이 없었습니다. 솔직히 말씀드리면, post_liked는 웹훅을 발화할 만큼 가치가 낮은 정보라고 생각합니다.
그 글을 작성할 당시 제가 함께 일했던 커뮤니티는 데이터 탐색기 플러그인을 통해 주기적으로 활동을 내보내고, 이를 외부 추적 대시보드에 가져오는 절차를 갖추고 있습니다. 잘 작동하며, 가져오기 전에 일부 정리(예: 비공개 카테고리의 활동 제거)가 가능합니다. 다만 즉시 처리되지는 않죠.
그럼에도 불구하고, 저는 개인적으로 이 기능을 꽤 오래 사용하지 않았습니다. “알림 이벤트” 옵션이 있는 것 같으니, 이것이 작동할 수도 있겠습니다. 사용자가 주제를 음소거하지 않은 경우, 게시글이 좋아지기를 누르면 사용자에게 알림이 전송됩니다.
Discourse 인스턴스를 설정해서 직접 테스트해 보시는 것을 추천합니다! 결과를 알려주세요.