Skip to content

Script to compute metrics on messenger conversations

License

Notifications You must be signed in to change notification settings

Atyansh/messenger-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

messenger-stats

Script to compute metrics for your messenger conversations

Instructions

Note: I made this guide up mostly for myself so it's kinda hand-wavey. If you run into any trouble, ping me :)

Step 1

Go to https://www.facebook.com/dyi/ to download your information (make sure you download it in json format).

Note: This may take a while.

Step 2

Clone this repo

$ git clone [email protected]:Atyansh/messenger-stats.git
$ cd messenger-stats

Step 3

You're going to need to install wordcloud. You may want to do this in a virtual environment but that's entirely up to you.

$ virtualenv msg_stats
$ source msg_stats/bin/activate
$ pip install wordcloud

Step 4

  • Open constants.py in your favorite editor.
  • Edit the FILENAME variable to point to whichever messenger conversation you want to work with.
  • Change the constants PRINT_STATS or GENERATE_WORDCLOUD to your liking. $ You can fiddle with the wordcloud dimensions or word length threshold if you want. I found good results at 4 and 6.

Step 5

$ python parse.py

About

Script to compute metrics on messenger conversations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages