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, per quanto ne sappia, il webhook post_liked non è mai stato aggiunto. Onestamente, penso che post_liked sia un’informazione di scarso valore per giustificare la complessità di attivare un webhook.
La comunità con cui lavoravo quando ho scritto quel post ha una procedura per esportare periodicamente l’attività tramite il plugin Data Explorer e poi importarla nella loro dashboard di tracciamento esterna. Funziona molto bene e permette un po’ di manutenzione prima dell’importazione (ad esempio, per rimuovere l’attività nelle categorie private)… semplicemente non è immediata.
Detto questo, non ci ho sperimentato personalmente da un po’. Sembra che ci sia un’opzione “Evento di notifica” che potrebbe funzionare. Gli utenti ricevono una notifica quando i loro post vengono apprezzati, a meno che non abbiano silenziato l’argomento.
Ti suggerisco di avviare un’istanza di Discourse e di provarla! Fammi sapere come va.
L’evento di notifica funziona, ma purtroppo non quando viene applicato un filtro per categoria. In uno scenario in cui ci interessassero solo i like in una determinata categoria, questo genererebbe un rumore eccessivo.
Sono nuovo su Discourse, ma ho fatto qualche ricerca e non sono riuscito a trovare nulla di simile. Dovrò approfondire per vedere se esiste un modo migliore di gestire questa situazione.
Scusa, l’argomento è un po’ vecchio, ma è anche quello che volevo implementare. Qualcosa come post_liked sul post dell’OP sarebbe molto utile. Avete qualche idea?