โ† All Articles
SEO

Open Graph Tags: The Complete Guide for Better Social Sharing

โœฆ Limitora ยท ๐Ÿ“– 5 min read ยท June 2025

Open Graph tags control how your pages look when shared on Facebook, LinkedIn, Twitter, WhatsApp and Slack. Without them, social platforms guess โ€” and usually guess wrong. Here's the complete setup guide.

What Are Open Graph Tags?

Open Graph (OG) is a protocol created by Facebook that lets you control the title, description, image and other metadata that appears when your page is shared on social platforms. Most platforms have adopted it, meaning one set of OG tags covers Facebook, LinkedIn, WhatsApp, Slack, Discord and many others.

Core Open Graph Tags

TagRecommended LengthPurpose
og:title60โ€“70 charsHeadline of the share card
og:description155โ€“200 charsSummary shown below title
og:imageโ€“Preview image URL
og:urlโ€“Canonical URL of the page
og:typeโ€“website, article, product

OG Image Sizes

Facebook and LinkedIn: 1200ร—630px minimum (recommended). Twitter Cards: 1200ร—628px for summary_large_image cards. WhatsApp: 300ร—200px minimum but larger images display better. Use one 1200ร—630px image and it'll work across all platforms.

Twitter Card Tags

Twitter has its own meta tag set (twitter:card, twitter:title, twitter:description, twitter:image). If no Twitter tags are set, it falls back to OG tags. Set both for best results:

Practical Implementation

Add OG tags inside your <head> section. For WordPress, plugins like Yoast SEO or RankMath add them automatically. For custom sites, add them per-page with your CMS's template system. Always test using Facebook's Sharing Debugger or LinkedIn's Post Inspector to verify how your pages appear before sharing.

Try the SEO Tool Free

Check your character limits in real time โ€” no signup, no limits, completely free.

Open Meta Description Checker โ†’