KNOWLEDGE ARTICLE
What Is Open Graph?
OG sharing metadata
Supplies titles, descriptions and images for social link previews.
At a glance
Originally popularized by Facebook, Open Graph metadata is now used by many social, messaging and collaboration platforms.
What is Open Graph?
Open Graph is metadata in the HTML head describing a page as a social object: its title, type, image, URL and description. Facebook popularized the protocol, and many social networks, chat applications and collaboration tools use it for link previews.
Core properties commonly include og:title, og:type, og:image and og:url. Additional fields can provide a description, site name, image dimensions, locale and multiple candidate images. These should agree with the page visitors actually open.
How platforms build link previews
- After fetching a URL, platforms inspect Open Graph, Twitter Cards, page titles, descriptions and visible images, then choose usable fields under their own rules.
- X, Facebook, LinkedIn, Discord and Slack can use different image crops, text lengths and cache lifetimes. Identical metadata need not produce identical cards.
- Some platforms fall back to Open Graph when platform-specific fields are missing. Incomplete Open Graph may trigger inference from body text and images.
- Platforms usually cache previews. Old cards may persist after page changes, and official debugging tools may offer a way to request a fresh fetch.
What makes a useful sharing card?
A title states the page's subject, a description adds useful context and an image establishes visual identity. Keep the image's subject legible in common widescreen crops, with a safe area for different layouts. Tiny text should not carry essential information.
og:url should normally identify the canonical page, and og:image should use a publicly accessible absolute URL. Image dimensions and MIME type can help platforms build previews more reliably.
Open Graph and SEO
Open Graph primarily serves social sharing, not direct search ranking. It can make social presentation more consistent, and a clearer preview may influence whether someone clicks.
Search titles, snippets and rich results use their own signals. Maintain title, meta description, canonical, structured data and Open Graph for their distinct purposes rather than asking one metadata set to do everything.
Practical use and interpretation
Available og:title, og:description, og:image and og:url values can be displayed with platform-specific preview layouts. Their presence does not guarantee adoption: caching, image accessibility and platform rules can change the final result.
If the page is retrieved successfully but these fields are empty, Open Graph was not found. If the page or metadata is incomplete, the appropriate status is unknown.
Points to consider
Complete sharing metadata that matches the destination page helps create a more consistent brand presentation and clicking experience.
Frequently asked questions
Does Open Graph improve search rankings?
It is not a direct ranking tag. It primarily controls social previews. Clearer previews may help clicks, while organic search depends on search engines' own indexing and ranking signals.
Why does a platform still show the old og:image?
Platforms cache link previews. Check that the new image is public and its URL and dimensions are correct, then use official debugging tools where available. Cache updates can still take time.
Should I configure both Twitter Cards and Open Graph?
Both offer more precise cross-platform control. Some platforms fall back to Open Graph alone, but card type and layout may differ.