Skip to content
/ actuary Public

Pull your facebook friends' data to use with xkcd's actuary.py

Notifications You must be signed in to change notification settings

wimsy/actuary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actuarize your Facebook friends

This is a little script I pulled together to pull my Facebook friends' age and sex data and format it to run through xkcd's actuary.py so I could amaze by friends with probabilistic predictions of their own collective demise.

I used Temboo to handle the OAuth bit, but I'm sure someone more talented than I could figure out how to do it without that. I just finally gave up. I use the standard Facebook Python SDK with FQL to pull the actual data. I'm storing the relevant keys in a CSV file (not very robust, I know). I included an example with just the headers. The first time you authenticate, it will write the access token back to this file so you don't need to authenticate again until it expires.

This is yours to use however you like under the MIT License.

About

Pull your facebook friends' data to use with xkcd's actuary.py

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages