Skip to content
/ zzzzz Public
forked from defaultnamehere/zzzzz

Roleplay as the NSA by making creepy graphs of your friends

License

Notifications You must be signed in to change notification settings

tedmx/zzzzz

This branch is 1 commit ahead of, 14 commits behind defaultnamehere/zzzzz:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c38e562 · Feb 21, 2016

History

13 Commits
Feb 14, 2016
Feb 19, 2016
Feb 19, 2016
Feb 14, 2016
Feb 21, 2016
Feb 14, 2016
Feb 14, 2016
Feb 19, 2016
Feb 14, 2016
Feb 14, 2016
Feb 19, 2016
Feb 14, 2016
Feb 14, 2016

Repository files navigation

Stalky

Um hello I guess you're here because you want to look at the code for this or run it yourself.

The code is up there ^^^^ so I guess here's how you run it yourself.

Installation

Just run pip install -r requirements.txt

(virtualenv is for suckers right now)

You'll also need to supply some way of authenticating yourself to Facebook.

Do this by creating a SECRETS.txt file with the following lines:

uid=<Contains your Facebook user id. Not nickname in the URL of your profile. If struggling, get uid the same way as client_id below.>
cookie=<Contains your Facebook cookie>
client_id=<Contains your Facebook client id. Find it by inspecting the GET parameters sent when your browser requests `facebook.com/pull` using your browser's dev tools.>

Download some data

python fetcher.py

This will run indefinitely and create data in "log". Depending on the number of Facebook friends you have, and how active they are, you can expect around 50-100MB/day to be written to disk.

Make some graphs

  1. Run python graph.py to convert all the raw log data into CSVs
  2. Run python app.py to start the 100% CSS-free "webapp"
  3. Go to http://localhost:8000 to view the ultra-minimal "webapp"
  4. Paste the Facebook user id that you want to graph into the box.

You did it!

About

Roleplay as the NSA by making creepy graphs of your friends

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.1%
  • HTML 30.9%