I generated a new application on Facebook—added in the new CLIENT_ID
and CLIENT_SECRET—but when I tried to login, the URL said:

https://graph.facebook.com/oauth/authorize?scope=user_photos%2Cfriends_photos&redirect_uri=http%3A%2F%2F58.168.6.57%2Fuser%2Flogin&response_type=code&client_id=<my
top-secret clientID here>

And the page said:

{
   "error": {
      "message": "Invalid redirect_uri: Given URL is not allowed by
the Application configuration.",
      "type": "OAuthException",
      "code": 191
   }
}

Here is my db.py: http://pastebin.com/zULTxA7D

What is going wrong? — I've tried modifying all my redirects, to no avail.

Thanks for all suggestions,

Alec Taylor

-- 



Reply via email to