Skip to content
Parse your facebook data into a CSV of your message frequency, friend request frequency, or timeline activity frequency. From there you can input the data into Excel or another program to analyze it or make charts!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
friendscript.rb
script.rb
timelinescript.rb

README.md

FacebookDataMessageParsing

Parse your facebook data into a CSV of your message frequency, friend request frequency, or timeline activity frequency. From there you can input the data into Excel or another program to analyze it or make charts!

If Facebook changes their format for downloaded data, these scripts may break. Let me know by submitting an issue or a pull request!

Setup

  1. Download Ruby if you don't have it yet.
  2. Go to your Facebook Settings and click "Download a copy of your Facebook data"
  3. Wait for them to email you when the download is ready
  4. Download the data into a directory. Then, clone this repo into the same directory.
  5. For message data, change the variables in script.rb and then run ruby script.rb from the directory the script is in. It will finish and dump the data into a CSV. Depending how much data you have, it could take from a few minutes up to tens of minutes.
  6. To parse the friends page into a CSV of name and date, change the file path in friendscript.rb and then run ruby friendscript.rb
  7. To get a list of dates of timeline activity, change the file path in timelinescript.rb, and run ruby timelinescript.rb
You can’t perform that action at this time.