Generates participation and word count CSVs on Facebook message dumps.
- Python 3
- pip
Install the required pip modules.
cd fb-msg-analytics
pip install -r requirements.txt
Go to Facebook's Download Your Information page and select:
- Date Range: All of my data
- Format: JSON (important)
- Media Quality: Low
- Deselect All and only select Messages
Click Create File and it'll email you when the .zip is ready to be downloaded.
Extract the downloaded .zip and point the script to the conversation of interest.
mkdir ~/fbdata
unzip facebook-[username].zip -d ~/fbdata
cd fb-msg-analytics
python ./fbMsgAnalytics.py ~/fbdata/messages/inbox/[convo_name]/
ls *.csv
participation.csv wordCount.csv