# Add Facebook login and registration to WordPress

URL: https://wpusermanager.com/article/134-add-facebook-login-and-registration-to-wordpress/
Last updated: 2020-11-18

Adding social login methods to your site gives users a quick and easy way to sign up and login into your site. [WP User Manager](https://wpusermanager.com/) allows users to register and sign up from the frontend of the site, and this can be extended with the [Social Login addon](https://wpusermanager.com/addons/social-login/).

WP User Manager is one of the most straightforward to use WordPress membership plugins available, with a large number of [features](https://wpusermanager.com/features/) that turn your WordPress site into a membership platform.

Facebook
--------

To add Facebook login to your WordPress website you need to have a Facebook account. If you have an account, go to <https://developers.facebook.com/> and login with your account.

Once you're logged in, go to your apps <https://developers.facebook.com/apps/> and click on the **"Add new app"** button on the top right side of your screen to create a new Facebook app, enter the name of the app ( doesn't matter what you type ) and then click **"Create app ID".**

Now that you've created the app, you'll be asked to add "products" to your app. Locate **"Facebook Login"** and click on "Set up".

![](https://s3.amazonaws.com/helpscout.net/docs/assets/5d6cea4404286350aeeb5235/images/5d6cf2d12c7d3a7a4d77f540/5d6cf2ca568f3.png)

You'll now be asked to select a platform. Select the option **"web".** You'll then be required to add the url of your website. Add your url into the **"Tell us what the URL of your site is."** field. Then press next on all the other sections and skip them.

After you're finished, click on "Settings" under the Facebook login app on your sidebar:

![](https://s3.amazonaws.com/helpscout.net/docs/assets/5d6cea4404286350aeeb5235/images/5d6cf2d12c7d3a7a4d77f541/5d6cf2cab766b.png)

Make sure the following settings are enabled:

- Client OAuth Login
- Web OAuth Login

Locate the **"Valid OAuth redirect URIs"** setting and add your site url followed by **?wpumsl=facebook**

![](https://s3.amazonaws.com/helpscout.net/docs/assets/5d6cea4404286350aeeb5235/images/5d6cf2d12c7d3a7a4d77f542/5d6cf2cb140e0.png)

There's just one more setting left. Click on "Settings -> Basic" and take note of the "App ID" number and "App Secret" key.

![](https://s3.amazonaws.com/helpscout.net/docs/assets/5d6cea4404286350aeeb5235/images/5d6cf2d22c7d3a7a4d77f543/5d6cf2cb6dfea.png)

You now need to add those details into your **WordPress site**. Login into your **WordPress dashboard** and navigate to **"Users -> Settings -> General -> Social Login".** Locate the settings called **Facebook Client ID (APP ID)** and **Facebook Secret** and copy the APP ID and App Secrete from facebook into their respective fields in WordPress.

Make sure you publish your app when you're finished.

Now you're done! :)

[Get started adding social logins to your WordPress site.](https://wpusermanager.com/pricing/)
