What are Open Graph and Twitter Card tags?
Open Graph (og:) and Twitter Card (twitter:) meta tags control how your page looks when shared on Facebook, LinkedIn, X (Twitter), and other platforms. They set the title, description, and image shown in the preview card. Without them, platforms may pick the wrong title or no image.
OG vs Twitter: what's the difference?
Open Graph is used by Facebook, LinkedIn, WhatsApp, and others. Twitter has its own tags (twitter:card, twitter:image, etc.). When both are present, Twitter uses its tags; others use OG. It's best practice to include both for maximum compatibility.
Does WhatsApp use Open Graph?
Yes. WhatsApp uses Open Graph tags to generate link previews. Ensure og:title, og:description, and og:image are set. The image should be at least 300×200 pixels.
Why isn't my updated image showing when I share?
Platforms cache OG images. Use the Facebook Sharing Debugger or Twitter Card Validator to refresh the cache. Changes can take hours to appear without a cache clear.
What image size should I use?
Use 1200×630 pixels (1.91:1) for best results. Minimum recommended is 600×314. This generator lets you set width and height so the tags match your asset.