Skip to content

Interactive visualizations of Facebook messenger history and chat log analysis

License

Notifications You must be signed in to change notification settings

Kodnot/facebook-message-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

facebook-message-analysis

  1. Download your Facebook messenger history from your Facebook settings. More here.
  2. Unzip your data into the directory of your choice.
  3. Identify a person whose chat history you want to analyze (if you want to run analysis for a single person) and copy the path to his subdirectory, or copy the path to the root data directory.
    1. We will refer to this folder's path as ${FOLDER}.
  4. Clone this repository and change directory into it.
git clone https://github.com/Kodnot/facebook-message-analysis.git && cd facebook-message-analysis
  1. Install any dependencies.
pip install -r requirements.txt
  1. If you get an NTLK download error, use this command to resolve the issue. It will tell NTLK to download the appropriate stopwords file.
python
>>> import nltk
>>> nltk.download('stopwords')
>>> quit()
  1. Launch the bokeh app locally, passing the folder containing the conversation files as an argument
bokeh serve --show fbmessages/ --args **${FOLDER}**

In a few seconds, you should get some nice interactive visualizations. Here's a demo of what the visualizations look like:

A showcase of the visualizatoins

About

Interactive visualizations of Facebook messenger history and chat log analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published