Academy / SEO

SEO

Open Graph: how your page looks when shared

By Fernando BalcázarReviewed on 5 min read

The essentials

  • Open Graph decides the title, text and image that show up when a link is shared on WhatsApp, LinkedIn, Facebook or X.
  • The minimum: og:title, og:description, og:image and og:url.
  • The image that works everywhere is 1200 × 630 pixels, declared with a full address.
  • It does not move Google rankings, but a link without an image gets shared and opened less.

The tags

HTML · in the <head>
<meta property="og:title" content="Roma Dental Clinic">
<meta property="og:description" content="Implants, orthodontics and cleanings in Roma. Online booking.">
<meta property="og:image" content="https://yoursite.com/og/portada.png">
<meta property="og:url" content="https://yoursite.com/">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">

twitter:card set to summary_large_image makes X show the large image. It takes the rest from Open Graph.

The image

  • 1200 × 630 pixels, a 1.91 to 1 ratio.
  • PNG or JPG under 1 MB; some apps do not load heavy images.
  • An absolute address with https. Not every network understands a relative path.
  • Important text in the center: each network crops a little differently.

The SEO Army snippet preview checks the tags and the image, and draws how it gets cropped.

If you changed the image and it does not update

Networks keep the preview for a while. Facebook and LinkedIn have tools to re-read it (Sharing Debugger and Post Inspector). On WhatsApp, adding a parameter to the address, like ?v=2, is sometimes enough.

Check it

Check your page’s Open Graph tags

ToolSnippet preview →