Skip to content
SEO Medium severity

Open Graph

What is Open Graph and why does it control how your pages appear on social media?

By eiSEO Team · Published Jun 15, 2025 · Updated Feb 27, 2026

What is open graph?

Open Graph (OG) is a protocol originally created by Facebook that uses meta tags in the <head> of a page to control how content appears when shared on social media platforms. The four required OG properties are og:title, og:type, og:image, and og:url. Without them, platforms attempt to auto-generate a preview that is often inaccurate or visually unappealing.

Open Graph is a protocol using HTML meta tags in the page head to control how content appears when shared on social media platforms, messaging apps, and link previews. The four required properties are og:title, og:type, og:image, and og:url, and without them shared links display with missing images or irrelevant descriptions.

Why does open graph matter?

Social media shares are a significant traffic source for most websites. When your pages lack OG tags, shared links may display with a missing image, a truncated title, or an irrelevant description, dramatically reducing click-through rates. Properly configured OG tags ensure every share looks professional and compelling, maximizing the traffic you receive from social channels, messaging apps, and platforms like Slack or Discord that also use OG tags for link previews.

Key statistics

Social media posts with properly configured Open Graph images receive 150% more engagement than posts without images.

Source: BuzzSumo

How to fix it

  1. 1

    Add the four required Open Graph tags to every page: og:title, og:type, og:image, and og:url.

  2. 2

    Include og:description with a compelling summary (similar to but not necessarily identical to your meta description).

  3. 3

    Provide an og:image that is at least 1200x630 pixels for optimal display across all platforms. Use absolute URLs for the image.

  4. 4

    Add Twitter Card meta tags (twitter:card, twitter:title, twitter:description, twitter:image) for Twitter/X-specific previews.

  5. 5

    Validate your OG tags using Facebook's Sharing Debugger and Twitter's Card Validator to preview how shares will look.

Code example

Bad
<head>
  <title>Our Blog Post</title>
  <!-- No OG tags — social shares will show generic or broken previews -->
</head>
Good
<head>
  <title>10 Accessibility Fixes That Improve SEO | eiSEO</title>
  <meta property="og:title" content="10 Accessibility Fixes That Improve SEO">
  <meta property="og:description" content="Discover how fixing common WCAG issues can boost your search rankings and user engagement.">
  <meta property="og:image" content="https://eiseo.com/images/blog/a11y-seo-og.jpg">
  <meta property="og:url" content="https://eiseo.com/blog/accessibility-seo-fixes">
  <meta property="og:type" content="article">
</head>

Frequently asked questions

Open Graph tags are not a direct ranking factor. However, professional-looking social shares generate more clicks and engagement, driving additional traffic and potential backlinks that do benefit SEO.
Use a minimum of 1200x630 pixels with a 1.91:1 aspect ratio. This ensures the image displays correctly on Facebook, LinkedIn, Twitter/X, Slack, and other platforms that use OG tags.
Twitter/X will fall back to OG tags if Twitter Card tags are missing, but adding both gives you full control over previews on each platform. At minimum, add twitter:card with a value of "summary_large_image".

Analyze your site's SEO health

eiSEO automatically detects and helps you fix issues like this across your entire site.