Skip to content
Login Contact

Open Graph tag audits for social sharing

Open Graph tags (OG tags) are meta tags used by social networks such as Facebook and Twitter to display rich previews when a user shares a page. Each audit below identifies a specific OG tag issue that can affect how your content appears on social platforms. For a complete list of all audit categories, see the Audits overview.

code: og_description_elementAttributeNotEmpty

The og:description property allows social networks to display a short description of the shared article, providing context to users who see the link on these platforms.

Specify this property on every page. Without it, social networks may not extract this information correctly, resulting in missing or generic previews.

Read more

og:image:height doesn’t match og:image’s height

Section titled “og:image:height doesn’t match og:image’s height”

code: og_image_height_isValid

The og:image:height meta tag was found on these URLs, but the value does not match the actual height of the og:image. Ensure this property specifies the real height of the image in pixels.

Read more

code: og_image_height_exists

Read more

og:image:width doesn’t match og:image’s width

Section titled “og:image:width doesn’t match og:image’s width”

code: og_image_width_isValid

The og:image:width meta tag was found on these URLs, but the value does not match the actual width of the og:image. Ensure this property specifies the real width of the image in pixels.

Read more

code: og_image_width_exists

Read more

code: og_image_hasUrl

The og:image property was found but does not contain a valid URL. Include a valid image URL so that social networks can display your content properly when shared.

Read more

code: og_image_exists

Read more

code: og_image_hasRecommendedWidth

Your images are over 600px wide, which is acceptable. Facebook recommends 1080px wide images for best display on high-resolution devices. Consider increasing the image size for your most relevant articles.

Read more

code: og_image_hasValidWidth

Facebook requires og:image to be at least 600px wide for proper display in shared cards. Consider increasing the image size for your most relevant articles.

Read more

Format of og:image is not an accepted image format

Section titled “Format of og:image is not an accepted image format”

code: og_image_hasSupportedExtension

Images referenced in the og:image property must be in JPG, PNG, WEBP, or GIF format. Some images on these URLs do not meet this requirement.

Read more

og:type tag is neither article nor website

Section titled “og:type tag is neither article nor website”

code: og_type_elementAttributeMatchesAnyValue

Facebook recommends specifying the og:type property as either website or article depending on the content type. This tag was not detected or contains an unsupported value. For related validations on structured data markup, check the dedicated audit reference.

Read more

code: og_url_exists

Read more

Section titled “og:url tag does not match canonical rel link”

code: og_url_elementAttributeMatchesCanonicalUrl

The og:url property must specify the canonical URL of the article. A mismatch between og:url and the canonical link tag was detected. Verify that this behavior is intentional.

Read more

What are Open Graph tags used for?

Open Graph tags (OG tags) are meta tags used by social networks such as Facebook and Twitter to display rich previews when a user shares a page. They control the title, description, image, and URL shown in the shared card.

What image size does Facebook recommend for og:image?

Facebook recommends 1080px wide images for best display on high-resolution devices. Images must be at least 600px wide and in JPG, PNG, WEBP, or GIF format.

Why should og:url match the canonical URL?

The og:url property must match the canonical URL of the page. A mismatch can cause social platforms to associate shares with the wrong URL, reducing the consolidation of engagement signals.