• Home
  • Features
  • Trial
  • Pricing
  • Demo
  • Docs
  • WuWei Lite

Facebook OAuth Login Guide

Enable Facebook login to allow users to register and log in with a single click. Facebook OAuth helps improve trust and streamline access, especially for mobile and social users.

Set Up Facebook Login App

To integrate Facebook login, you must first create a Facebook App.

Create a Facebook App

(1) Visit the Meta for Developers Console

(2) Click Create App

(3) Choose Consumer as the app type

(4) Fill in the App Display Name, Contact Email

(5) Click Create App

Add Facebook Login Product

(1) In your app dashboard, under Add Products to Your App, find Facebook Login

(2) Click Set Up and choose Web as the platform

(3) Enter your WuWei homepage URL, such as: https://your-domain.com

(4) Click Save

Configure Valid OAuth Redirect URIs

(1) In the left sidebar, go to: Facebook Login → Settings

(2) Under Valid OAuth Redirect URIs, add:

https://your-domain.com/oauth/facebook/callback

(3) Click Save Changes

Get App Credentials

(1) In the left menu, go to Settings → Basic

(2) Copy your:

  • App ID
  • App Secret (click "Show")

Enable Facebook OAuth in WuWei

(1) Log in to the WuWei Admin Panel

(2) Go to: Settings → OAuth Settings → Facebook

(3) Enable Facebook OAuth Login

(4) Fill in the required fields:

  • Client ID (App ID)
  • Client Secret (App Secret)

(5) Click Submit to save your settings

Facebook Login is Live

Users will now see a Facebook icon on the login and registration pages. When they authorize with Facebook, WuWei will automatically log them in or create or link the user account.

Testing Tips

  • Add your own Facebook account as a test user under: Roles → Testers
  • Make sure your Facebook App is in Live mode (not "In Development") for real users
  • Check the browser console or Facebook logs for detailed error messages if login fails

Security Notes

  • WuWei uses the official OAuth 2.0 redirect flow
  • Passwords are never shared — only Facebook id, email, and name are used
  • All data transfer occurs over HTTPS
About Us Contact Us Privacy Policy Terms of Service
© 2025 KOOGUA.NET