Search code examples
facebook-graph-apifacebook-page

Retrieve Facebook page's messages and sender


I'm retrieving my page's messages through Graph API calls, but it seems to be impossible to know who sent a message on behalf of my Page. Normally in the Inbox you can know who help manage a page sent a message, and now I'm looking for a way to retrieve that information.

And one more question, at the end of the JSON file that Facebook returns there is an URL to retrieve more data. I wonder if there is any way to automatically take that URL and download the next JSON file.

Thank you!


Solution

  • The Message object does not provide this information according to the reference.

    Depending on the Framework you are using to work with the Graph API there may be a way to load the next page automatically.