Next.js Discord

Discord Forum

Warnings That Should Be Fixed Missing Properties The following required properties are missing: fb:a

Unanswered
Schneider’s Smooth-fronted Caima… posted this in #help-forum
Open in Discord
Schneider’s Smooth-fronted CaimanOP
I have tried 3 different ways. I am using Next js
v16.0.3
app router, tsx



1. In Metadata
other: {
    "yandex-verification": "",
    "facebook-domain-verification": "",
    "fb:app_id": "",
    "msvalidate.01": "",
  },

2. app/head.tsx
export default function Head() {
  return (
    <>
      <meta property="fb:app_id" content="" />
      <meta
        name="facebook-domain-verification"
        content=""
      />
      <meta name="yandex-verification" content="" />
      <meta name="msvalidate.01" content="" />
    </>
  );
}


3. Hard code by following https://github.com/vercel/next.js/discussions/47111
const RootLayout = async ({ children }: RootLayoutProps) => (
  <html>
    <head>
      <meta property="fb:app_id" content="" />
    </head>
    <body>{children}</body>
  </html>
)

export default RootLayout


except facebook debugger, all are working good. Could you tell me please, how to solve this issue?

0 Replies