¿Es posible mostrar notificaciones de Discourse en otro sitio?

My site spans a few platforms.

I know users can have live browser notifications, and emails.

I’d also like to pull the notifications bubble that appears on discourse user profile and add it to the menu on my other platforms, for continuity.

Just that they have a notification, and ideally how many. Has anyone heard of that being done?

3 Me gusta

Yeah, this is totally doable.

I did back in 2015 using a direct database connection on the Discourse and querying the notifications table.

You can also use the API.

It’s just a matter of picking what’s best for the underlying tech of the other site.

6 Me gusta

Hicimos esto y podemos extraer el recuento de notificaciones no leídas de Discourse a nuestro otro sitio sin problemas.
El problema que enfrentamos es que ahora los números de las burbujas no coinciden entre el otro sitio y Discourse.
Para las burbujas azules (notificaciones), una vez que un usuario abre el menú desplegable en Discourse, el contador se restablece a 0, incluso si no abre las notificaciones.
Sin embargo, en nuestro otro sitio web, las notificaciones siguen contando como no leídas. Por lo tanto, podría seguir mostrando X notificaciones no leídas en el otro sitio, mientras que en Discourse el contador se restablece a 0.

Esto es bastante confuso para los usuarios. ¿Existe alguna forma de extraer no el número de notificaciones no leídas, sino el número que se muestra en la burbuja azul de Discourse (que se establece en 0 cuando un usuario abre el menú desplegable de notificaciones)?