Open Graph

noun

say it: “OH-pun GRAF” /ˈoʊpən ɡræf/

A set of meta tags in a page's head, each named og: something, that tells chat apps and social sites the title, description and picture to show when someone shares the link.

What is Open Graph?

Open Graph — A set of <meta> tags in a page's head, each named og: something, that tells chat apps and social sites what to show when someone shares the page's link: the preview's title, description and picture. Without them, the app guesses, often badly.

<meta property="og:title" content="Rolling Tacos: Street Tacos in Fairview">
<meta property="og:description" content="Carne asada, chicken tinga and veggie tacos from $3.50.">
<meta property="og:image" content="https://rollingtacos.example/share-image.jpg">

In a sentence

  • “After I added Open Graph tags, the food truck link showed a photo of tacos in our group chat.”
  • “The Open Graph image has to be a full web address, not a path like images/share.jpg.”

Level: Journeyman · More HTML terms at this level

Updated