Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is the format for the SECRETS.json file since it needs to include both the auth token and the facebook id?

f = open(SECRETS.json) self.fb_auth = json.load(f)

So does it matter what I name the auth parameters or just that I set the values correctly?

i.e:

{ "auth_token" : "TOKENVAL", "fb_id" : "IDVAL" }



As cfreeman commented to markwaldron in another comment - See here: https://gist.github.com/rtt/10403467#authenticating




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: