XF 2.0 Facebook Connect "An error occurred while connecting with Facebook. Please try again later."

Timmyv

Member
Hello, hoping for a little help. We finally got most of the Facebook connect to work expect when you get to the last step where you Confim Login with Facebook (seems like everything is connected) we get "An error occurred while connecting with Facebook. Please try again later." Anyone else experiencing this and where is this coming from. Thanks in advanced.
 
I got the same problem, it took me a day to realize that:

on developers.facebook.com, I set it as https://mywebsite.com (https)

but in xenforo setting -> Setup -> Options -> Basic board information, I set "Board URL" and "Home page URL" http://mywebsite.com (http)

After correcting this, it works well :)
 
Same problem on one of our 2.0 sites. Have recently switched from http to https but that may be a coincidence as the problem seems to have started prior to that in the last couple of weeks.
 
Having the same problem.. been trying for 6 hours straight to fix it! If i dont get the red box of URI errors its the An error occurred while connecting with Facebook. Please try again later. :@ :@ :@
 
Do you guys have a trailing slash in your forum URL?

Setup > Options > Basic Board Information > Board URL

Make sure on your facebook app settings, under Facebook Login > Settings: OAuth2 Authorized Redirect URLs this should be set to <XF board URL>/connected_account.php. For example, https://xenforo.com/community/connected_account.php. The beginning of this URL must match your Board URL setting in XenForo exactly. If you have a trailing slash in your board URL this will be trying to go to https://xenforo.com/community//connected_account.php and error out.
 
Do you guys have a trailing slash in your forum URL?

Setup > Options > Basic Board Information > Board URL

Make sure on your facebook app settings, under Facebook Login > Settings: OAuth2 Authorized Redirect URLs this should be set to <XF board URL>/connected_account.php. For example, https://xenforo.com/community/connected_account.php. The beginning of this URL must match your Board URL setting in XenForo exactly. If you have a trailing slash in your board URL this will be trying to go to https://xenforo.com/community//connected_account.php and error out.
This was the fix for me. Thank you!
 
Back
Top Bottom