Looking for something? Search Here..







Generic selectors

Exact matches only

Search in title

Search in content

Post Type Selectors

How to Get Facebook Login API Key (App ID & App Secret)

Last Updated on January 7, 2026

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

  1. Click Create App
  2. Choose Consumer (recommended for Facebook Login)
  3. Enter:
    • App Name
    • App Contact Email
  4. Click Create App

Step 3: Add Facebook Login Product

  1. Inside your app dashboard, click Add Product
  2. Select Facebook Login
  3. Choose your platform:
    • Web
    • Android
    • iOS
  4. 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

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