Skip to main content

Lesson 6 of 8

Open Graph & Social Media Tags

Open Graph (OG) tags control how your page looks when shared on Facebook, LinkedIn, WhatsApp, and other platforms. Twitter Card tags do the same for Twitter/X. Without OG tags, social platforms guess which image and text to show - usually poorly.

10 minBy Priygop Editorial TeamUpdated 2026Peer Reviewed & Verified

Social Media Meta Tags

  • og:title - Title displayed in social share card. Can differ from <title> for social marketing.
  • og:description - Description shown in share cards. 2-4 sentences recommended.
  • og:image - Image shown in share cards. Minimum 1200x630px for Facebook. MUST be absolute URL.
  • og:url - Canonical URL of the page.
  • og:type - Content type: 'website', 'article', 'product'. Affects how data is categorized.
  • twitter:card - Card type: 'summary' (small image) or 'summary_large_image' (large image).
  • twitter:site - Your Twitter handle: @priygop.
  • Test cards: developers.facebook.com/tools/debug and cards-dev.twitter.com/validator.
Diagram
Loading diagram…

Social meta tags produce rich interactive link previews on messaging apps and feeds

Key Takeaways

  • Open Graph (OG) tags control how your page looks when shared on Facebook, LinkedIn, WhatsApp, and other platforms.
  • og:title - Title displayed in social share card. Can differ from <title> for social marketing.
  • og:description - Description shown in share cards. 2-4 sentences recommended.
  • og:image - Image shown in share cards. Minimum 1200x630px for Facebook. MUST be absolute URL.

Finished this lesson?

0 of 8 in Module 10
Sign in to save progress

Hands-on Practice Tools for this Course

Test what you learn using these free in-browser developer utilities (no signup required).

All 40+ Tools

Topics in This Module

0/8 done