English · සිංහල · தமிழ்

Guides › Connections

Connections

Set up your Meta (Facebook) app

Platform owner only: the Meta (Facebook) app details that let every customer connect in one click.

Where to find it: Settings → Platform readiness (platform owner) Platform owner only 15 min

Before you start

  • You're the CompanyFlowHQ platform owner.
  • Access to Meta for Developers and the Cloudflare account.

The steps at a glance

1Find the App ID2Save them inCloudflare3Check theplatform list4Paste theaddresses intoMeta5Set up webhooks
Step 1 of 5
  1. In Meta for Developers → your app → App settings → Basic, copy the App ID (15–16 digits) and App secret.

    developers.facebook.com/appsCompanyFlowHQWebsiteAutomationsEmail Market…Team & HRIntegrationsSettingsGuidesMeta for DevelopersSearch ⌘KApp ID1372750784590143App secret••••••••ShowMeta for DevelopersApp ID1372750784590143App secret••••••••Show
  2. META_APP_ID is set in wrangler.jsonc. Set the secret with “npx wrangler secret put META_APP_SECRET” and paste it.

    terminalCompanyFlowHQWebsiteAutomationsEmail Market…Team & HRIntegrationsSettingsGuidesTerminalSearch ⌘Knpx wrangler secret put META_APP_SECRETTerminalnpx wrangler secret put META_AP…
  3. In Settings, scroll to Platform (owner only). Every item under Configuration should be green.

    companyflowhq.com/settingsCompanyFlowHQWebsiteAutomationsEmail Market…Team & HRIntegrationsSettingsGuidesSettingsSearch ⌘KPlatform (owner only)What still needs doing on Meta's side…Lead Ads webhook verify tokenSet upWhatsApp webhook verify tokenMissingSettingsPlatform (owner only)What still needs doing on Meta's…Lead Ads webhoo…Set upWhatsApp webhoo…Missing
  4. Copy each address under Addresses to paste into the Meta App Dashboard (OAuth redirect, webhooks) into the Meta app.

    companyflowhq.com/settingsCompanyFlowHQWebsiteAutomationsEmail Market…Team & HRIntegrationsSettingsGuidesSettingsSearch ⌘KAddresses to paste into the Meta App Dashboardhttps://companyflowhq.com/api/integrations/callbackSettingsAddresses to paste into the Meta A…https://companyflowhq.com/api/i…
  5. Tap Set up app webhooks, then Check with Meta.

    companyflowhq.com/settingsCompanyFlowHQWebsiteAutomationsEmail Market…Team & HRIntegrationsSettingsGuidesSettingsSearch ⌘KSet up app webhooksCheck with MetaSettingsSet up app webhooksCheck with Meta

What the code looks like

What it looks like Meta App ID
1372750784590143Copy this part — 15–16 numbers, from App settings → Basic
Find it: developers.facebook.com → your app → App settings → BasicPaste it: META_APP_ID in wrangler.jsonc (vars)

Not this: a Page ID or Business ID (also long numbers) — this box needs the App ID shown at the top of the app dashboard.

✅ How do I know it worked?

  • Check with Meta says the webhooks are subscribed, and a customer's Connect Facebook works.

⚠️ Common mistakes

ProblemYou pasted the Page ID but this box needs the App ID.FixThe App ID is shown at the top of your app in Meta for Developers — it looks like 1372…, 15–16 digits.
ProblemOther businesses can't connect yet.FixUntil Meta's App Review and Business verification are done, only people with a role on the app can connect.

Related guides

Sign in to try it