Jason Carmen
Posts: 0
Joined: Wed Mar 05, 2014 1:51 pm

Facebook Api Error

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

Any help on this?

thanks,

-Jason

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Facebook Api Error

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.

Jason Carmen
Posts: 0
Joined: Wed Mar 05, 2014 1:51 pm

Facebook Api Error

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

Jason Carmen
Posts: 0
Joined: Wed Mar 05, 2014 1:51 pm

Facebook Api Error

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Facebook Api Error

Thank you for update!

Return to “Issues”