Updated May 7th, 2019.
-
Clone this repository
-
Go to your Facebook settings and select "Download a copy of your Facebook data" (should be under General Account Settings)
a. Login to Facebook
b. Click the down arrow beside the question mark button
c. Click "Settings"
d. From the left sidebar click "Your Facebook Information"
e. Click "Download Your Information"(all data, high quality)
f. Make sure the formatting is "JSON"
g. Download all of your Facebook data -
Place the unzipped download of your Facebook data into the same folder as this repository.
-
Rename the unzipped folder to "facebook"
Remember, Python3 only.
- Install requirements
pip install -r requirements.txt
- update userinfo.py with your correct information
- run the correct parser for the formatting you chose
python json_parse.py
- If you have Jupyter open analyze.ipynb
a. Run all the individual cells (This can easily be done by clicking "Cell" --> "Run All")
b. Graphs are somewhat interactive - you can zoom in and stuff
c. skip step 5 - run analyze.py
python analyze.py
- Graphs will be saved in the 'graphs' folder
- If you want to create a chatbot from your messages
a. run chatbot_export.py
python chatbot_export.py
b. go to the facebook-messages-chatbot repo
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
-
Creating a chat bot from your own facebook data.
- I have created a way to export the messages so you can train it using:
https://github.com/ArmaanSethi/facebook-messages-chatbot
- I have created a way to export the messages so you can train it using:
-
Creating a way to measure average reply time
- I have no idea how I would create this metric, all help is welcome.
-
Analysis of message reactions
-
Public Google Colab Notebook