Script to compute metrics for your messenger conversations
Note: I made this guide up mostly for myself so it's kinda hand-wavey. If you run into any trouble, ping me :)
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.
Clone this repo
$ git clone [email protected]:Atyansh/messenger-stats.git
$ cd messenger-stats
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
- 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
orGENERATE_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.
$ python parse.py