An error occurred while connecting to Facebook when using <appName>

I try to connect to facebook to authenticate users, but in the facebook login dialog I get the following message: An error has occurred. Please try again later.

Any ideas what I can do wrong?

+1
source share
3 answers

I deleted the following line from FB.init ()

xfbml  : true  // parse XFBML

It worked for me. Hope this helps.

+1
source

I got the error message "Error! Try again" after we try to reinstall. we have to give appidin two places on the page Facebook/index.php.

first in

$facebook = new Facebook(array(
  'appId'  => 'your_app_id',
  'secret' => 'your_secret_id',
  'cookie' => true,
));

but after giving the missing second I will get rid of the problem

src="http://connect.facebook.net/en_US/all.js#appId=your_app_id&amp;xfbml=1"

But still it works for me!

0

In my case, this is caused by a request for an invalid region / permission (location instead of user_location).

0
source

All Articles