Development
Testing django's social-auth-login on localhost
Go to
https://developers.facebook.com/apps
"Create New App"
For site URL put (this is important)
In your settings_local.py put credentials that you got after registration:
FACEBOOK_APP_ID = 'xxxxxxxxx'
FACEBOOK_API_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx'
Make sure that in your settings.py credentials correspond to real site and not localhost.
Relevant question on StackOverflow: http://stackoverflow.com/questions/7200046/is-it-possible-to-test-out-oauth-login-authentication-facebook-twitter-google
Adding Facebook app
https://developers.facebook.com/apps
http://facebook-python-library.docs-library.appspot.com/facebook-python/examples/oauth.html
Last edited by dudarev, 2012-05-17 08:27:59. Edit