MessengerGrapher
MessengerGrapher copied to clipboard
Creates cool graphs of Facebook Messaging data!
Facebook Messenger Data Grapher
Use 64 bit Python or it will not work!!!!!! <----- Important read this!
Dependencies
- Python 3 64 bit
- Pandas
- Matplotlib
- BeautifulSoup4
How To
- Install all the dependencies
- Download/clone this repository
- On Facebook, go to Settings then select "Download a copy of your Facebook data" (you can select either HTML or JSON formats)
- Once you have that, find the
messages
folder inside the archive and copy that folder into your clone of this repository- This folder should keep the same name (
messages
) and be placed at the top level of the repo
- This folder should keep the same name (
- Edit
userinfo.py
and add your information - If you selected HTML format in step 3, run
python html_parser.py
; otherwise, runpython json_parser.py
for the JSON format - Run
python grapher.py
- Graphs will be generated and saved in the
graphs
folder
Results
Here are a few examples of the type of graphs generated:
Want to contribute? Here's some features to consider
- Additional parameters: who messaged first, average reply time.
- More permutations of existing parameters (sent/received, sex, date, number of messages, and number of people)