Invalid redirect uri for QuickBlox user module's facebook login
quickblox
Solution
UPD: This is an old guide and you don't need to configure social integration via Admin panel anymore. Use API to login a user with Facebook/Twitter.
===================
In order to use QuickBlox Social API (Twitter/Facebook) you have to:
- Create Facebook/Twitter application
- While registering the application supply Callback Url:
- http://api.quickblox.com/auth/facebook/callback for Facebook
- http://api.quickblox.com/auth/twitter/callback for Twitter
- Enable social integration on your QuickBlox application (on admin panel) - Enter auth credentials for the platform you want to enable
Also you can follow QuickBlox Social Networks Integration Manual
Problem
I am new to QuickBlox. I've just download the sample code from SimpleSample-chat users-ios and connect it with my application on QuickBlox. It works fine with the registration and normal login. However, error occurred if I use facebook login. Error code 191: Invalid redirect_uri: Given URL is not allowed by the Application configuration. Edited on 2012-12-05: After reading the manual, I've change my facebook app setting as follow: And I've filled in the App id and secret key on QuickBlox as follow: However, I still get the invalid url error. Note: I have do no changes on the sample but the these few lines with my QuickBlox app's info: ``` [QBSettings setApplicationID:xxx]; [QBSettings setAuthorizationKey:@"yyyyyyyy"]; [QBSettings setAuthorizationSecret:@"zzzzzzzzz"]; ``` Any steps I missed to make that sample work?