4 ms·
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
by robin_hood_jr 10y 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"
}
- ersii 10y agoAs cfreeman commented to markwaldron in another comment - See here: https://gist.github.com/rtt/10403467#authenticating https://gist.github.com/rtt/10403467#authenticating