This Python script runs analysis on Facebook Messenger, based on JSON files provided by Facebook.
You must download your Facebook data in JSON format before running this script. To download your Facebook data:
- Go to your facebook.com
- Go to Settings > Your Facebook Information
- Click Download Your Information
- Under Date Range select All of my data
- Under Format select JSON
- Under Media Quality select Low
- Select Create File
- Facebook will notify you via email when your data is ready for download. This usually takes about 24 hours.
The script begins by asking the user to select a folder with JSON data within to run queries on. The messenger files are in your Facebook data folder > messages > inbox.