XF 2.1 Facebook API login not working


Active member
Solved..read on.

I was trying to use the Facebook login and I set up everything on Facebook with the lasted API app and it does not work. When test it or I log out of the forum and try to register using Facebook I get this error.

Screen Shot 2020-10-24 at 10.03.56 PM.png

I figured out the problem. I was missing the Valid OAuth Redirect URIs in the Facebook app.

Here are the steps after you have made your Facebook app. When you are done entering in your App ID and Key click on Test Provider.

Screen Shot 2020-10-25 at 7.16.18 AM.png

A popup window will open up now copy the URL.

Screen Shot 2020-10-25 at 7.16.48 AM.png

Next goto your Facebook Developer page and click on Settings under the app you made for your forum.

Screen Shot 2020-10-25 at 7.13.22 AM.png

Next, you will see a window enter the URL you copied into the Valid OAuth Redirect URIs

Screen Shot 2020-10-25 at 7.14.13 AM.png

Click save and your app should work. Also, make sure your Facebook app API is up to date.
Last edited:


Active member
Solved I needed to enter in the Valid OAuth Redirect URIs which is the URL that is at the bottom of the window that pops up when you press the TEST button for the Facebook app