Social Connect / Configuration / Facebook Login Setup

Facebook Login Setup

Last updated: February 12, 2026

This page is where you enable Facebook login and connect Social Connect to your Meta (Facebook) App using an OAuth Client ID and Client Secret.

You’ll find it in WP Admin → Social Connect → Networks → Facebook (or similar).


1) Enable Facebook Social Login

At the top you have a Facebook Social Login ON/OFF toggle.

  • ON = Facebook button can be shown (based on your Settings placement rules).
  • OFF = Facebook login is disabled everywhere, even if the App keys are filled in.

2) Create a Meta App and get your keys

Follow the steps to create the app:

A) Create the app in Meta Developers

  • Log into Facebook, open Meta Developers / App Dashboard
  • Click Create App
  • Choose the use case that includes Facebook Login
  • Pick a Business portfolio (or skip if you don’t have one yet)

B) Enable Email permission (recommended)

In the Facebook Login configuration, add/enable Email permission.

  • This helps Social Connect match users reliably (and avoids duplicate accounts).

C) Add the exact Redirect URI (critical)

In Facebook Login settings, you must add the Valid OAuth redirect URI exactly as shown on your site.

https://your-site.com/socplug/auth?provider=Facebook

Notes:

  • It must match character-for-character (domain, protocol, path, query string).
  • If you have both staging + live, you need to add redirect URIs for both.
  • If your site changes domain, you must update this field in Meta.

3) Paste the App keys in WordPress

Scroll to Your Facebook App Settings and fill in:

  • Client ID = Meta App ID
  • Client Secret = Meta App Secret

Then Save.

Tip: treat the Client Secret like a password—don’t share it, don’t paste it in screenshots, and don’t store it in public docs.


4) “Testing” vs “Live” (Publishing your app)

The page notes this clearly:

  • The setup steps are enough for testing.
  • For a live site, Meta typically requires you to publish the app and complete basic settings, usually including:
    • App icon
    • Privacy Policy URL
    • Data deletion instructions/URL
    • Website platform + site URL
    • Any review steps Meta requests (varies by account/app)

If your app stays in Development mode, only admins/developers/testers of the app can use the login.


5) Data deletion/privacy shortcodes (important for compliance)

Use these shortcodes to allow your users to delete their data:

  • [socplug-remove-account] – lets users delete their account
  • [socplug-remove-data] – removes the connection between the account and Facebook

In practice:

  1. Create a WP page like “Delete my data” / “Account deletion”
  2. Add the shortcode
  3. Link that page in your Privacy Policy (and in Meta’s required fields if requested)

Common problems (quick fixes)

  • “URL blocked” / “Invalid redirect URI” → the Redirect URI in Meta doesn’t match your site’s exact URL.
  • Works for you, not for customers → app is still in Development mode (add testers or publish).
  • Users created twice → email permission missing / email not returned; enable Email permission and ensure “link by email” behavior in Social Connect settings (if available).