Managed WordPress Ecommerce Help

Connect Facebook

In this article, we'll show you how to create an app for the Facebook social network that can connect to your WooCommerce Social Login option.

Required: WooCommerce Social Login is a premium WooCommerce extension included with Managed WordPress Ecommerce, Managed WooCommerce Stores or as a standalone purchase.

Create a new app

Before beginning, ensure that Force SSL for all providers is enabled in WooCommerce Settings, under Social Login as this setting is required by Facebook.
  1. Sign in to developers.facebook.com.
  2. Go to My Apps and click on the Create App button (Add a New App button if you've already created one).
  3. Select the Consumer option since this app will be used to integrate Facebook Login on your website.
  4. Add an app name and App contact email.
    Note: Connecting your Business Account is optional, so you may skip that part if you prefer.
  5. Click on Create app.

Configure Facebook Login

  1. With your app now created, go to Facebook Login and click Set Up, but do not use the “Quickstart” you’re taken to.
  2. Go to Settings on the left side menu and select Basic.
  3. Scroll toward the bottom and select Add platform.
  4. Select the Website option and click Next.
  5. Set following the basic details for your store:
    • Display name - (the name of your store; will be shown to customers when they approve app access to log in),
    • Site URL - Enter your website URL (e.g. http://www.coolexample.com/).
    • Namespace - An optional identifier that can be helpful for sites operating on subdomains.
    • Category - Select the option most relevant to your business.
  6. Click on Save changes and toggle the App mode status in your top bar to Live.
  7. With your app now created, go back to the Basic settings and copy the App ID and App secret. You will use these to configure your settings inside of WooCommerce.

Enter application details

  1. Sign into WordPress.
  2. Go to WooCommerce and click on Settings.
  3. Select the Social Login tab and click on Facebook.
  4. Select Enable Facebook.
  5. Enter the App ID and App Secret you copied from Facebook.
  6. Enable the Redirect URI option and copy the listed URL, you will use it to wrap up in the following section.
  7. Click on Save changes.

Set OAuth redirect URI

  1. Return to your Facebook Developers app Dashboard.
  2. Select Settings on Facebook Login.
  3. Enter the copied URL into the Valid OAuth Redirect URIs field.
  4. Click on Save changes.
Back To Top

Refer to the links below for steps on how to connect other social login methods:

More info

Share this article