View gist:a0a1a1a67ecdd99524a5
/* | |
Quick script for analyzing data from your Facebook activity page | |
Steps: | |
1. Go to https://www.facebook.com/me/allactivity?privacy_source=activity_log&log_filter=likedposts | |
2. Scroll down as far as you want. | |
3. Open up the browser dev tools, copy the HTML and save it to a file named "sample.html". | |
4. Make sure you have node.js installed (nodejs.org). | |
5. Install the cheerio library (type "npm install cheerio" at the command line). | |
6. Save this script as app.js and run it in the same directory as your saved output (ex: "node app"). |