My main goal is to make a dashboard on my personal website that contains all the conversations from my facebook page and where we could also send messages.
The idea here would be that my support team just logs into my website and could answer client’s questions asked through the facebook page.
The thing is that I want to get all the chat logs to create a view for the support team to have a clear view of the conversation. I know that there is a reference called /{conversation-id}/messages but I can’t seem to figure out how to get a list of all the conversation-ids available on the page.
I guess it would make it easier to do it with these informations.
2
Answers
To get all conversations a page is involved in, you start at
/page-id/conversations
From there you get the conversation threads, and the individual messages can be found in those.
https://developers.facebook.com/docs/graph-api/reference/page/conversations
/{page-id}/conversations
/{conversation-id}/messages
/{message-id}
https://developers.facebook.com/docs/graph-api/reference/page/conversations
https://developers.facebook.com/docs/graph-api/reference/v7.0/message