Home Retrieving all messages from a facebook page
Reply: 0

Retrieving all messages from a facebook page

Delphinator
1#
Delphinator Published in 2017-12-04 13:21:18Z

I'd like to get all messages to and from a facebook page, including those in the "Done" folder.

Using

graph.facebook.com/{page-id}/conversations?fields=id,messages{message,to,from,created_time}

I'm able to retrieve all messages in the inbox, but threads I've marked as "Done" in the web UI are not listed. I can retrieve their messages via

graph.facebook.com/{conversation-id}?fields=id,messages{message,to,from,created_time}

but that requires knowing the conversation-id.

I also know about the conversations webhook. While that's great for realtime and will work for all future messages, it doesn't help with retrieving historical messages, which I also want.

Is there a way to also get the conversation-ids for messages in the "Done" folder of a pages inbox?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.404838 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO