Skip to content
Yantrakosha
SEO

Open Graph Meta Tags: How to Control Your Social Media Previews

Sunil Kalikayi4/8/20265 min read

What Open Graph Does

Open Graph (OG) is a protocol created by Facebook that standardizes how web pages present themselves when shared on social media. Every major platform — Facebook, LinkedIn, Slack, WhatsApp, Discord — reads OG tags to render link previews. Without proper OG tags, platforms fall back to guessing — often with poor results.

The Four Essential OG Tags

og:title — the headline shown in the preview card (70 char max). og:description — the supporting text (200 char max). og:image — the thumbnail image (1200×630px recommended, min 600×315px). og:url — the canonical URL for this page (prevents duplicate previews when pages are accessed via multiple URLs).

Image Requirements by Platform

Facebook: 1200×630px minimum, < 8MB, JPG or PNG. LinkedIn: 1200×627px preferred. Twitter (X): For summary_large_image, 1200×628px. Images smaller than minimum are shown as tiny thumbnails or ignored. Always test with each platform's card validator before deploying.

Frequently Asked Questions

Build OG tags in seconds

Generate complete Open Graph meta tags with the free Meta Tag Generator.

Open Meta Tag Generator
Recommended next tools

A few strong starting points across Yantrakosha.