fb:app_id is configured for Facebook sharing analytics
Why it matters
The fb:app_id tag links content shared from your site to a registered Facebook App in Meta's developer portal, enabling access to share analytics via the Sharing Debugger and associating engagement data with your app's metrics dashboard. Without it, Facebook share counts and referral data are visible only in aggregate through Meta Business Suite — there is no app-level attribution. Per ogp.me, fb:app_id is an optional but recommended field for sites that actively track social distribution through Facebook's analytics tools. The impact is analytics-only: users sharing and clicking links are unaffected.
Severity rationale
Low because missing fb:app_id only affects Facebook share analytics visibility in the developer portal — it has no effect on how links are displayed or how users share content.
Remediation
Add fb:app_id to your root layout using Next.js's other metadata field, since Next.js does not have a built-in key for this property:
// app/layout.tsx
export const metadata: Metadata = {
other: {
'fb:app_id': '123456789012345',
},
}
Create a Facebook App at developers.facebook.com to obtain the App ID. This is a one-time setup; the same App ID applies site-wide. Prioritize this only after completing higher-severity OG and Twitter card gaps.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Social Sharing Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- external · ogp.me — The Open Graph Protocol — fb:app_id
Taxons
History
- 2026-04-18·v1.0.0·Initial import from marketing-social-sharing·automated