Next.js Discord

Discord Forum

OG-image not recognised by Facebook

Unanswered
Tropical Parula posted this in #help-forum
Open in Discord
Tropical ParulaOP
I have a Next 13 application, where I set some metadata:
export const metadata: Metadata = {
  title: "<Name>",
  description: "",
  openGraph: {
    url: "<url>",
    type: "website",
    title: "Name>",
    description: "",
    images: "heroes/main-hero.png",
  }
};


When I open my application in the browser, I have this element inside <head>: <meta property="og:image" content="<link to correct png>">

On https://developers.facebook.com/tools/debug/, I get The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags., anyone know what the problem could be?

0 Replies