Step 1: Go to Meta for Developers
- Open Meta for Developers
- Sign in using your Facebook account
- Go to My Apps → Create App
Step 2: Create a New App
- Click Create App
- Choose Consumer (recommended for Facebook Login)
- Enter:
- App Name
- App Contact Email
- Click Create App
Step 3: Add Facebook Login Product
- Inside your app dashboard, click Add Product
- Select Facebook Login
- Choose your platform:
- Web
- Android
- iOS
- Click Next to complete setup
Step 4: Configure Facebook Login
For Web Applications:
- Go to Facebook Login → Settings
- Set:
- Valid OAuth Redirect URIs
https://yourdomain.com/auth/facebook/callback - Enable Client OAuth Login
- Enable Web OAuth Login
- Valid OAuth Redirect URIs
Step 5: Get Your API Credentials
Navigate to Settings → Basic
You will find:
- App ID → (Facebook Login API Key)
- App Secret → (Keep this secure)
📌 Click Show to reveal the App Secret.
Step 6: Configure App Domains & URLs
In Settings → Basic, set:
- App Domains:
yourdomain.com - Privacy Policy URL
- Terms of Service URL
These are required for production apps.
Step 7: Switch App to Live Mode
Submit for review if additional permissions are required
By default, apps are in Development Mode
Go to App Settings
Switch App Mode → Live