Open Graph metadata

fb:app_id

Associates the page with a Facebook app. Meta requires it when you want Facebook Insights for traffic from shared pages.

Code examples

Good example
<meta property="fb:app_id" content="1234567890">
A numeric Facebook app ID from the app dashboard.
Avoid this example
<meta property="fb:app_id" content="yourappidhere">
A placeholder does not identify a Facebook app.

Recommendations

  • 01
    Use Your App ID
    Copy the numeric ID from the Meta app dashboard. Do not use an app secret or access token.
  • 02
    The ID Is Public
    This property appears in page source by design. Keep the app secret private, but the app ID is not a secret.
  • 03
    Test Before Deployment
    Use Meta’s Sharing Debugger to see the properties its crawler reads from the page.

Related documentation

Related meta tags

fb:app_id

property

Associates the page with a Facebook app. Meta requires it when you want Facebook Insights for traffic from shared pages.

<meta property="fb:app_id" content="1234567890">
A numeric Facebook app ID from the app dashboard.