Skip to content

Facebook Setup

Set up Facebook Pages API integration for managing pages, posts, and engagement through Fp Switchboard.

  • Facebook account with admin access to at least one Facebook Page
  • Access to Meta for Developers
  1. Create a Meta App

    Go to developers.facebook.com and create a new app. Select “Business” type.

  2. Add Facebook Login

    In your app dashboard, click “Add Product” and select “Facebook Login”.

  3. Add Redirect URI

    Under Facebook Login > Settings, add:

    https://api.switchboard.fpdigital.ai/oauth/facebook/callback
  4. Request Permissions

    Add the required permissions:

    • email
    • public_profile
    • pages_show_list
    • pages_manage_posts
    • pages_read_engagement
  5. Copy Credentials

    From Settings > Basic, copy the App ID and App Secret.

Terminal window
npx wrangler secret put FACEBOOK_CLIENT_ID
npx wrangler secret put FACEBOOK_CLIENT_SECRET
https://api.switchboard.fpdigital.ai/oauth/facebook/callback
  • App Review required: Facebook permissions beyond basic profile require app review for production use.
  • Page tokens vs User tokens: Facebook uses separate tokens for page management. Switchboard handles the token exchange automatically.
  • Rate limits: Facebook Graph API has rate limits that vary by endpoint. Heavy usage may trigger temporary throttling.
  1. Connect from the Switchboard Dashboard
  2. Authorize with your Facebook account
  3. Select the pages you want to manage
  4. Click Test Connection to verify
  5. Try: “List my Facebook pages” or “Show recent posts”