Closed Eonus21 closed 2 years ago
This is possible.
Can you give some code example or some advice, where can I see this example pls.
And yet - I would like to process real-time likes,comments and events when a person writes from another device. It is possible? Then we can discuss about it in another issue
On the message
event, you'll get an event like this:
{
"event": "patch",
"message_type": 1,
"seq_id": 1234,
"mutation_token": null,
"realtime": true,
"message": {
"path": "/direct_v2/threads/{thread_id}/participants/{user_id}/has_seen",
"op": "replace",
"thread_id": "...",
"timestamp": 1234567,
"item_id": "..."
}
}
It's basically this example.
real-time likes
I don't think that's possible.
comments
You may want to use fbns
for this although this isn't reliable.
events when a person writes from another device
You can't get information about the device.
I need to handle when someone read my direct messages, can I make this with mqtt?