Page 1 of 1

Facebook Api Error

Posted: Tue Mar 11, 2014 12:47 pm
by Jason Carmen

I get the following message when trying to use the facebook Login api Image

Any help on this?

thanks,

-Jason


Facebook Api Error

Posted: Tue Mar 11, 2014 12:54 pm
by Maryna Brodina

Hello! In app settings you've specified redirect url different from the one you have in request parameters to oauth. Please check where is incorrect url and set corrcet one.


Facebook Api Error

Posted: Tue Mar 11, 2014 1:09 pm
by Jason Carmen

Not sure if you have done this or not but if you add the Facebook Api to your project like this:

CreateNew -- From Plugin -- Facebook API

The following gets created for you Image

When testing with multiple settings I still get this error: Image

The following is what I have set for OAuth:
Image

Am I setting something wrong?

Here is my basic settings:

Image

Now I have set the Web url to both the following urls and neither one makes a difference:

http://appery.io/app/view/e0e903e9-b0...
http://appery.io/app/view/e0e903e9-b0...

Please help thanks.

-Jason


Facebook Api Error

Posted: Tue Mar 11, 2014 1:54 pm
by Jason Carmen

I figured it out. The pre generated content does not acount for projecId in the javascript and addding it as a parameter to the facebook settings resulst in an undefined you must manually modify the javascript to include your project Id in the callback url Image


Facebook Api Error

Posted: Tue Mar 11, 2014 2:12 pm
by Maryna Brodina

Thank you for update!