Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 873 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 873 Bytes

Facebook Message Analytics

Generates participation and word count CSVs on Facebook message dumps.

Prerequisites

Requirements

  • Python 3
  • pip

Install the required pip modules.

cd fb-msg-analytics
pip install -r requirements.txt

Data Download

Go to Facebook's Download Your Information page and select:

  1. Date Range: All of my data
  2. Format: JSON (important)
  3. Media Quality: Low
  4. Deselect All and only select Messages

Click Create File and it'll email you when the .zip is ready to be downloaded.

Usage

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