I expect to be able to paginate over all pages (I can't even find information in the requests to attempt to paginate to another answer subset), from which I'll save the messages to Json for further processing. Messages = graph.request(conversation_id + '?fields=messages&limit=100')Įxcept :
#Function to help with the multiprocessingĭef get_conversation_from_id(conversation_id): Graph = facebook.GraphAPI(access_token=token, version = 3.1) Facebook Messenger statistics reveal that 20 billion messages are. So far, I've got this piece of code: import facebook Do you know that the Facebook Messenger app is the second most downloaded app in the. While I can loop through some messages using facebook-api, there's this concept of paginating that I cannot find documentation about. I've checked other posts, such as Download Facebook Page Private Messages and How to download all Facebook 'posts to page' (without scrolling), but none of them allow to download ALL messages from the page.įacebook requests using the API only returns the results partially, therefore I need to move from page to page to find all messages. on left side, press your facebook information 4. I want to download all chat messages in the Facebook Account that I manage to help building a chatbot. WARNING IS A BAIT AND SWITCH THEY WANT YOU TO PAY TO USE IT AND FACEBOOK ACTUALLY LETS YOU DO THIS FOR FREE, THIS EXTENSION IS A SCAM How to do this for free and not get scammed by this ridiculous extension 1.