How to Integrate Login with Facebook into Your WordPress Website

How to Integrate Login with Facebook into Your WordPress Website


What is Social Login?


Social Login allows users to connect to any website using various networking platforms such as Facebook, Google, or Twitter. It is a form of single sign-on for users designed and implemented to make logging in easier for end-users. Using social login users can sign into any third-party website without having to create an account.


How does Social Login Works?


The social login process is extremely simple. Users come to your website and select whichever social login provider they want to login. They fill in their details on the social network provider’s site. Once the authentication process is completed by the social provider the user can start using your WordPress website. If they are a new user then they are registered and if they are an existing user they are logged in.


Facebook is the most used social networking platform in the world. With over 2.7 billion users, Facebook is the biggest social network worldwide.
Almost everyone who has an internet connection has an account on Facebook.
86% of users report being bothered by having to create new accounts on websites. Think of a scenario where you have to create a new account on every website. Sound's annoying right? Thus we can make your website much easier to access by allowing users to connect using Facebook. With Facebook Social Login users can access your website with one click.
As a result, when users come to your website they will not have to fill up another registration form or remember another set of usernames and passwords. They can just hop right in by taking advantage of Facebook Social Login and start using your website.

Why should I implement Facebook Social Login on my website?

Integrating social login on your website has a lot of benefits.
When users come to your website they can start using it in seconds. They will not have to fill up any forms or remember another set of credentials. They can just log in with a single click using Facebook social login.
All the users you get on your website and their data will already be verified by Facebook. You can be assured that your user data is authentic.
The login process consisting of authentication and authorization will be done on Facebook’s side. This only makes things easier for you as you don’t have to deal with managing user accounts and forgotten passwords.

How to add login with Facebook on your WordPress website.

The easiest way to allow login with Facebook on any WordPress website is to use a Social login plugin. miniOrange Social login is one of the most popular social login plugins with lots of free features. Following is a list of the Facebook Integrations we provide.

Features:
Free Login with Facebook
Display - Default display on login, register, and comment forms.
Shortcode - Display login icon anywhere on your site.
Customization - Completely customizable login icons. Choose from different themes, shapes, any size, and any color.
Facebook Sharing
Facebook Commenting
Social share count for Facebook.

Premium Features:
Pre-configured Facebook login - No setup required. One-click enables Facebook login on your website.
Facebook Like button

Instructions :


After you decide which permissions you want to request from your visitors, you’ll need to build a Facebook application that can handle them. Fortunately, it’s not as complicated as it might sound.

WordPress Facebook Social Login (Facebook Single Sign-On (SSO)) for WordPress can be achieved by using our WordPress Social Login plugin. In this guide we will see how to implement Facebook login on your WordPress website in the easiest way. To know more about other features we provide in WordPress Social Login plugin, you can click here.


Steps to configure Facebook Social Login into WordPress (WP)

Step 1: Configure Facebook Social Login into Your WordPress

Follow the steps below to configure Facebook login in WordPress

miniorange img Configure Facebook Social Login
  • To get started, Go to Facebook developers console click here and sign up/Login with your facebook developer account.
  • facebook wp social login app
  • Go to the Facebook Developers apps page and click the button to Add New App.
  • facebook wp social login create facebook app
  • Select the options as your need to create an AppID.
  • social login facebook wp social login app options
  • Enter the App Display Name and Add Contact Email for your Facebook app respectively then click on Create App button to save your settings and create an App Id for your app and complete the Security Check.
  • facebook social login app wp social login detials
  • Select Facebook Login by clicking on the Set Up button .
  • facebook social login wordpress facebook setup
  • Select the Web option as you are trying to integrate your Facebook Login with a website.
  • wordpress social login facebook login select web option
  • Next, enter the Site URL (from your miniOrange social login plugin WordPress) and click Save. Then, click Continue.
  • facebook wordpress login site URL facebook SSO
  • Go to Settings -> Basic to view your App Id and App Secret (Refer to the image below).
  • App Domain: Write your website’s domain there.
  • Privacy Policy URL: Fill in this box with the URL liked to your website’s privacy policy page.
  • Terms of Service: Fill in this box with the URL linked to your website’s terms of service page.
  • User Data Deletion:drop down, Select Data Deletion Instruction URL (Enter the URL of your page with the instructions on how users can delete their accounts on your site).
  • Choose a category from the dropdown in the Category field and pick the App Purpose option that describes your App the best, then press Save Changes to save your configurations.
  • fb wp social login facebook basic info
  • Click on the App review tab from the left hand side menu and click on Permissions and Request.
  • facebook social login app review tab
  • Click on Request Advance Access for public_profile and email. If you want any extra data to be returned you can request permission for those scopes.
  • social login facebook request advance access
  • Change you app status from In Development to Live by clicking on OFF as shown in the image below. Then, click on confirm to confirm your change of status.
  • facebook social login facebook status

2. Set credentials in miniOrange Social Login Plugin

  • Go to miniOrange Social Login plugin → click on Configure Apps → click on Facebook Login Icon:
  • facebook WordPress social login miniOrange social plugin
  • Copy the Client Id and Client Secret form above setup and Paste them into the fields in Facebook Login Instructions.
  • facebook social login WordPress social login Client Id
  • Then click on Save & Test Configuration button.
  • A new window will appears and ask you to login to your Facebook account. Login with the account which you used to register the account in Facebook for Developer. Press Continue as … to complete the login process.
  • A notification from the plugin that The test was successful will be shown. That means your Custom app will set properly.
  • facebook WordPress social login Test Configuration
  • Now,You can see the facebook social Login button is activated in your WordPress Website.
  • Facebook Login Button looks like the following image on WordPress.
  • Facebook social login icon on wordpress
  • If you not able to Add Social login icons on your custom login/registration page of your website, you can use our shortcode Guide.

You have successfully configured Facebook Social Login for WordPress Website.

Recommended Add-ons

WooCommerce Integration

With Woocommerce Integration you can Display Social Login buttons on Woocommerce pages and prefill details of a user in the billing and
checkout fields

Know more →

Discord Integration

Discord Integration add-on allows you to restrict the login/registration
of user based on
whether the user is present
in the Discord server

Know more →

HubSpot Integration

Hubspot Addon provide hubspot integration
where user contact will be automatically added to hubspot contact list on
successful registration via
social login applications

Know more →

Custom Registration form

With Custom Registration Form Add-On integrate details of new and existing users. Add multiple fields including the one returned by social sites during registration

Know more →

BuddyPress Integration

Buddypress integration add-on provides you both the features buddypress display option
and buddypress
extended attribute mapping

Know more →

MailChimp Integration

Mailchimp Add-On helps you to
integrate details of new as well as
existing users.
Mailchimp helps to Engage your audience with beautiful, branded emails.

Know more →

Additional Resources


If you are looking for anything which you cannot find, please drop us an email on socialloginsupport@xecurify.com

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com