Skip to content

Instantly share code, notes, and snippets.

View gist:a0a1a1a67ecdd99524a5
Quick script for analyzing data from your Facebook activity page
1. Go to
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 (
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").