Hacker News new | ask | show | jobs
by robin_hood_jr 3625 days ago
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" }

1 comments

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