Skip to content

Login with Facebook

Many FreeFlarum users want to activate Facebook login, but there doesn't seem to be an up-to-date guide as of yet. Also, Facebook now requires a public privacy policy before you can activate your FB login. So follow these steps to get rollin' !

First, create (or copy from somewhere) a privacy policy. You can just create a new discussion and use that.

Go to https://developers.facebook.com/apps/ and press "Add new app":

Enter your forum name and email. I have choosed "owo" for illustration purposes:

You know what to do here:

Go to Products and add Facebook Login:

Go to Settings > Basic:

Copy the App ID and App Secret:

Fill out the Privacy Policy and (optionally[?]) Terms of Service links:

Add domain names (make sure to add both the "www" and non-"www" version if applicable. We will do that from the Settings section under our Facebook login module category:

Now you should see something like this:

"Valid OAuth Redirect URIs". Seems complicated, yet so simple. It is in fact just the https://yourforumname.flarum.cloud/auth/facebook URL or whatever domain you use. If your forum is located at another domain or you probably used the custom domain option, just use that domain. The ./auth/facebook part is important.


Pro tip: ./auth/google, ./auth/twitter for Goggle and Twitter logins and so on...


Go to Settings > Advanced. Add your domain to "Domain Manager" including http(s) and trailing slash:

Finally, turn it on:

Go to your Forum admin panel. Go to extensions. Enable the Facebook extension. Enter App ID and App Secret as noted earlier.

If you are not using FreeFlarum, you might have to run a php flarum cache:clear and rm assets/rev-manifest.json in the shell as a last step.

Your Facebook login should work now! If not, please contact us at our official Flarum discussion.


You might be looking for: