Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Latest commit

 

History

History
15 lines (13 loc) · 976 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 976 Bytes

Facebook Messenger Stats

This is a Python command-line program that displays statistics from Messenger chats, such as the number of words, messages, pictures, videos each person sent, as well as each person's average number of words per message using JSON chat files.

How to Use

  1. Run fb_msg_stats.py from command-line after downloading it.
  2. When prompted, enter in the file paths of each JSON file of your Messenger chat. Most chats will only have one JSON file, but longer chats may have multiple.
  3. Type 'done', when you have entered in all JSON files.

How to Download JSON Files of Messenger Chats

  1. Go to the "Settings" menu on Facebook.com and click "Your Facebook Information".
  2. Click "View" in the "Download Your Information" section.
  3. Change the format to "JSON".
  4. Deselect all information except "Messages".
  5. Click "Request a download".
  6. In the downloaded folder, each chat should have a directory that contains one or multiple JSON files.