Learning Hub — Beginner’s Guide
⭐ Beginner — No coding experience needed

What you will learn in this guide

1 What Open Graph does

Open Graph is a meta tag standard originally from Facebook, now used by almost every social platform to determine how your link appears when shared. Without OG tags, social platforms guess from your HTML — usually badly.

Common symptom:Your link shared in Slack or LinkedIn shows a tiny logo, wrong title, no description. The fix is almost always adding or correcting OG tags.

2 The 5 OG tags that matter most

TagPurposeExample
og:titleTitle shown in preview"5 Ways to Improve Page Speed"
og:descriptionDescription textOne-sentence summary of the page
og:imagePreview imageAbsolute URL to a 1200x630 image
og:urlCanonical URLFull https URL of the page
og:typeContent type"article" for blog posts, "website" for pages
<meta property="og:title" content="5 Ways to Improve Page Speed" /> <meta property="og:description" content="Page speed is now a confirmed Google ranking signal. Here are five proven fixes..." /> <meta property="og:image" content="https://yoursite.com/og/page-speed.png" /> <meta property="og:url" content="https://yoursite.com/blog/page-speed" /> <meta property="og:type" content="article" />

3 Twitter Card tags

Twitter has its own card tags. Modern Twitter respects OG tags as fallback, but for the best preview add explicit twitter:* tags:

TagPurpose
twitter:card"summary_large_image" or "summary"
twitter:titleTitle for Twitter preview
twitter:descriptionDescription for Twitter preview
twitter:imageImage (Twitter accepts up to 4096x4096; 1200x675 is safe)
twitter:site@yourtwitterhandle

4 Image rules

  1. 1Use 1200x630 pixelsThis works for Facebook, LinkedIn, Discord, Slack and most other platforms.
  2. 2Keep file under 1MBMost platforms will refuse larger files.
  3. 3Avoid text near edgesSome platforms crop the edges differently. Keep important elements in the centre 1000x500.
  4. 4Use a CDNOG images need to load fast for social platforms. Use a fast CDN or your image host (Cloudinary, Bunny, etc.).
Cache busting:When you change an OG image, Facebook and LinkedIn cache the old version for 30 days. Use Facebook's Sharing Debugger and LinkedIn's Post Inspector to force a refresh.
Written by
John
Founder, AIWebPageSEO

OG tags are the smallest possible SEO change with the biggest UX impact when your link gets shared. Spend an afternoon adding them to your top 50 pages and your social sharing engagement will measurably improve.