Open Graph

A meta tag protocol that controls how links appear when shared on social media. Created by Facebook.

The Open Graph Protocol (OGP) is a meta tag protocol created by Facebook that controls the title, description, image, and other information displayed when a web page is shared on social media. Properties like og:title, og:description, og:image, and og:url are placed in the HTML <head>.

Properly configured Open Graph tags ensure that intended preview cards appear when links are shared on Facebook, LinkedIn, Discord, and other platforms. Attractive previews directly improve click-through rates. Social media marketing strategy books teach OGP best practices.

og:title should be under 40 characters, and og:description is recommended at 80-110 characters. The optimal og:image size is 1200×630 pixels for beautiful previews across platforms.

Open Graph is widely adopted beyond Facebook. X (Twitter) uses its own Twitter Card tags but falls back to OGP tags. Practical web marketing guides cover OGP setup and validation.