CiteStat/Wiki/Open Graph & Social Meta

Open Graph & Social Meta

Structured Data

TL;DR

Open Graph tags (og:title, og:type, og:image, og:url) are the meta tags Facebook, LinkedIn, Zalo, Slack and other apps read to build a link preview. Without og:image a shared link shows a small preview or none; Google can also use og:title when it writes a page's title link.

Explain Simply

When you paste a link into Facebook or Zalo and a picture with a title appears, the app read it from the page's Open Graph tags. Without them, the app has to guess, and it often guesses badly.

The Open Graph protocol (ogp.me, originally created at Facebook) turns a web page into an object that apps can show as a card. It names four required properties for every page: og:title, og:type (website, article…), og:image and og:url. og:description and og:site_name are optional and recommended. The tags go in the page's <head> as <meta property="og:…" content="…">, and they must be in the HTML the server sends, because link-preview crawlers do not run JavaScript.

The image. Meta's guidance: at least 1200 × 630 px for the best display on high-resolution screens; at least 600 × 315 px to get the large preview; 200 × 200 px is the minimum allowed; keep the ratio close to 1.91:1; the file must not exceed 8 MB. Use an absolute https URL. Facebook caches images by URL, so a changed image needs a new URL.

Testing. Meta's Sharing Debugger (developers.facebook.com/tools/debug) shows what Facebook read and re-scrapes the page; LinkedIn has Post Inspector. X reads its own twitter:* tags (twitter:card selects the card type).

Search. Open Graph is not a ranking factor. Google lists "Content in og:title meta tags" among the sources it can use for a page's title link, so a clear og:title is one more signal for the title Google shows.

⚡Why It Matters

Every share of a page is a small advert for it: the image and title decide whether people click. A page with no og:image, a 404 image or an image of the wrong shape gets a weak or empty card on Facebook, Zalo, LinkedIn and chat apps, and the person who shared it cannot fix that.

🔍How CiteStat Checks

CiteStat reads og:title, og:description, og:image and twitter:card from the HTML the server sends. It then downloads the og:image and checks that the URL is valid and returns HTTP 200, the file is under 5 MB, the size reaches 600 × 315 px (the large-preview floor) and 1200 × 630 px (the sharp one), and the ratio is near 1.91:1. It does not ask for a particular file format: neither ogp.me nor Meta names one, and JPEG or PNG is what every preview reads. It also flags a page that loads the Facebook SDK but has no Open Graph tags.

CiteStat Score Impact

Rules engine: "Page should have og:title meta tag" and "Page should have og:description meta tag" (warning, weight 4 each), "og:image" (warning, weight 5), "twitter:card" (info) and Google's "Page should have Open Graph tags" (info). The og:image download adds findings, not rules: HTTP error (high), under 600 × 315 px or over 5 MB (medium), under 1200 × 630 px or ratio off (low).

Fix Difficulty

Editor: Easy | Developer: Easy | AI Agent: Easy