Skip to content

Generates participation and word count CSVs on Facebook message dumps.

Notifications You must be signed in to change notification settings

tianyouw/fb-msg-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Generates participation and word count CSVs on Facebook message dumps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages