When I receive a "message received callback" event from the Facebook Realtime API (webhooks) I want to fetch previous messages in the conversation. To do that I need the ID of the conversation thread.
https://developers.facebook.com/docs/messenger-platform/webhook-reference/message?locale=en_US
The event does not contain any information about the ID of the conversation thread (t_id). It only contains the message ID (mid).
https://developers.facebook.com/docs/graph-api/reference/v2.8/conversation
Is there a way to get the conversation thread ID?
thread_key
, but I'm not sure when or if that will happen. – Rothermere