Question

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: Facebook App Setting And I've filled in the App id and secret key on QuickBlox as follow: QuickBlox social integration setting

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?

Was it helpful?

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:

  1. Create Facebook/Twitter application
  2. While registering the application supply Callback Url:
  3. 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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top