Browse files

added documentation to README for using the automatically_authenticat…

…e method
  • Loading branch information...
1 parent ab2c5fe commit 51628312d4139591dc50b5810f010ed3b2465ca5 @deanmalmgren committed Apr 19, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0
@@ -122,6 +122,23 @@ altogether:
fbconsole.ACCESS_TOKEN = '<your-access-token>'
+As a means to set the `ACCESS_TOKEN`, fbconsole provides an automatic
+mechanism for authenticating server-side apps by completing the OAuth
+process automatically:
+ fbconsole.automatically_authenticate(
+ username, # facebook username for authentication
+ password, # facebook password for authentication
+ app_secret, # "app secret" from [facebook settings](
+ redirect_uri, # redirect uri specified in [facebook settings](
+ )
+This method for authentication is particularly helpful, for example,
+for running cron jobs that grab data from the Graph API on a daily
+basis. If you have any trouble using the `automatic_authentication`
+method, be sure to double check that the username, password, app
+secret, and redirect uri are all consistent with your apps
+[facebook settings](
### Other Options ###

0 comments on commit 5162831

Please sign in to comment.