'openGraph in Next.js with next-seo
I'm trying to customize my site's SEO using next-seo in Next.js.
Everything looks good except the image is not being rendered when I'm sharing the link in Facebook
When using Facebook developers debugger I'm getting this error message:
Inferred Property The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
This is my openGraph configuration :
title: 'Site title here',
description: `Site description here`,
openGraph: {
type: 'website',
locale: 'fr_FR',
url: 'url here',
site_name: 'name here',
description: `description here`,
title: 'Title here',
image: 'https://prismic-io.s3.amazonaws.com/gary-blog%2F3297f290-a885-4cc6-9b19-3235e3026646_default.jpg',
imageWidth: 1200,
imageHeight: 1200,
},
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
