Search code examples
djangofacebookyahoogoogle-accountdjango-socialauth

Multiple Problems with Django SocialAuth - logging in with facebook, yahoo, google


I am having some problems with the app django socialauth.

I am receiving the following errors:

no such table: openid_consumer_association

I got the above error whenever I click on the google or Yahoo icon for logging in. may I know how do i fix this problem?

Another error I am receiving is related to facebook connect. Whenever i try to access the facebook login url at http://localhost:8000/accounts/facebook_login/, I receive the following error:

{
   "error": {
      "type": "OAuthException",
      "message": "Missing client_id"
   }
}

I've been searching high and low for a successful implementation of socialauth.

But it seems that there is quite a bit of bugs?

Any tips, suggestions are more than welcomed!


Solution

  • you have to put those in your settings

    FACEBOOK_APP_ID = ''
    FACEBOOK_API_KEY = ''
    FACEBOOK_SECRET_KEY = ''
    

    get those id & keys from http://www.facebook.com/developers/apps.php