# Open Graph

> Open Graph is a protocol of meta tags that turns a web page into a rich object when shared. See the four required properties and a working example.

Canonical: https://scaplet.com/glossary/open-graph

Glossary Glossary · On-page SEO

Open Graph is a protocol of meta tags that turns a web page into a rich object when shared. See the four required properties and a working example.

3 min

read

2

sources

Oct 22, 2026

updated

Scaplet Editorial Team

author

In one line

Open Graph is a protocol that lets any web page become a rich object in a social graph. You add meta tags to the page's head. Four properties are required: og:title, og:type, og:image, and og:url. ogp.me says it is used on Facebook to give any web page the same functionality as any other object on Facebook.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fopen-graph%20(%22Open%20Graph%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fopen-graph%20(%22Open%20Graph%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fopen-graph%20(%22Open%20Graph%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fopen-graph%20(%22Open%20Graph%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 6 parts, 3 minutes.

1. [How Open Graph works 01](#how-open-graph-works)
2. [Required properties 02](#required-properties)
3. [Optional properties worth adding 03](#optional-properties-worth-adding)
4. [X (Twitter) cards 04](#x-twitter-cards)
5. [Common mistakes 05](#common-mistakes)
6. [Test your tags 06](#test-your-tags)

_01_Check it

## How Open Graph works

Open Graph tags are `meta` elements in the page `head` with a `property` attribute that starts with `og:`. The protocol is documented at ogp.me. Each platform decides how it uses the tags, so test where your links get shared.

Minimal Open Graph tags

```
<head> <meta property="og:title" content="How to bake chocolate chip cookies" /> <meta property="og:type" content="article" /> <meta property="og:url" content="https://example.com/blog/cookies" /> <meta property="og:image" content="https://example.com/images/cookies.jpg" /> <meta property="og:image:alt" content="A tray of warm chocolate chip cookies" /> </head>
```

_02_At a glance

## Required properties

Property

### `og:title`

What it holds

The title of the object as it should appear in the graph

Property

### `og:type`

What it holds

The type of object, such as `website`, `article`, or `video.movie`

Property

### `og:image`

What it holds

An image URL that represents the object

Property

### `og:url`

What it holds

The [canonical URL](/glossary/canonical-url) of the object, used as its permanent ID

_03_Checklist

## Optional properties worth adding

1. 01 `og:description`: a short description of the object
2. 02 `og:site_name`: the name of the overall site
3. 03 `og:locale`: language and territory, such as `en_US` (the default)
4. 04 `og:image:alt`: the spec says a page that specifies `og:image` should specify `og:image:alt`
5. 05 `og:image:width` and `og:image:height`: image dimensions in pixels

The protocol doesn't prescribe an image size. Optional `og:image:width` and `og:image:height` declare the size, so check each platform's current guidance for recommended dimensions.

_04_Worth knowing

## X (Twitter) cards

X reads its own `twitter:` meta tags, which are not part of the Open Graph protocol that ogp.me documents. X Developers' Cards FAQ says that at a minimum your page must contain a `twitter:card` meta tag specifying a valid card type, or "suitable OpenGraph fallback tags". So suitable Open Graph fallback tags can stand in for the `twitter:card` tag.

### Tags must be static

The FAQ says the crawler and validator cannot execute JavaScript, so tags added on page load, for example by a JavaScript framework or a [tag manager](/glossary/google-tag-manager), are not seen. Run the curl command above and look for the tags in the `head`.

### Allow the crawler

Make sure `robots.txt` allows access to X's crawler, and check the [robots.txt](/glossary/robots-txt) of any other domain that hosts your images.

### Use absolute image URLs

The FAQ checklist says to use an absolute and full URL including the `https` protocol, not a relative one.

### Old card types fall back

The FAQ says Product, Gallery and Photo cards were removed in mid-2015 and render as summary cards, and App cards render as summary cards as of early 2022.

### Preview by posting

As of mid 2022 the Card Validator no longer previews cards, and X recommends pasting your URL into a post composer in its mobile apps or website.

Check what Twitterbot sees

```
curl -v -A Twitterbot https://example.com/page
```

_05_Checklist

## Common mistakes

First_2_
Leaving out one of the four required properties

Setting `og:url` to a URL that differs from the page's canonical URL

Next_1_
Pointing `og:image` at a URL that does not load; the property should be an image URL that represents the object

Then_1_
Copying the homepage tags to every page so all shares look identical

_06_How it works

## Test your tags

1. 1

### Check the source

View the page source and confirm each `og:` tag is in the `head` of the served HTML.
2. 2

### Run a platform debugger

ogp.me lists the Facebook Object Debugger as Facebook's official parser and debugger. Use it, or the equivalent tool on each platform you care about, to see what the platform reads from your URL.
3. 3

### Share a real link

Post the URL in a private chat or channel and check the title, image, and description.

Sources · 2

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- ogp.me
- x.com

1. 01 [The Open Graph protocol](https://ogp.me/) ogp.me · checked 2026-10-25
2. 02 [Card error, unable to render, or no image: READ THIS FIRST | X Developers Community, Cards FAQ](https://devcommunity.x.com/t/card-error-unable-to-render-or-no-image-read-this-first/62736) devcommunity.x.com · checked 2026-10-25

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ Does Open Graph affect Google rankings?

The Open Graph specification describes how a page is represented when shared and makes no claims about search rankings. The tags matter to platforms that read them, such as Facebook.

_02_ Do I also need Twitter Card tags?

Not always. X Developers' Cards FAQ says a page needs at least a `twitter:card` meta tag with a valid card type, or suitable OpenGraph fallback tags. The `twitter:` tags are not part of the Open Graph spec, so ogp.me does not cover them.

_03_ Which Open Graph tags are required?

Four: `og:title`, `og:type`, `og:image`, and `og:url`. Others such as `og:description` and `og:site_name` are optional.

_04_ Can each page have its own og:image?

Yes. Each page is its own object, so give each page its own title, URL, and image.

## Keep learning

[All glossary](/glossary)

[Learn OG image (og:image) On-page SEO](/glossary/og-image) [Related Duplicate meta descriptions On-page](/seo-issues/duplicate-meta-descriptions) [Read next Meta description On-page SEO](/glossary/meta-description) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Online reviews](/glossary/online-reviews) [Organic search](/glossary/organic-search) [Original research](/glossary/original-research)

More in On-page SEO
[Image sitemap](/glossary/image-sitemap) [Internal links](/glossary/internal-links) [Keyword density](/glossary/keyword-density) [Keyword stuffing](/glossary/keyword-stuffing) [Knowledge Panel](/glossary/knowledge-panel) [max-snippet](/glossary/max-snippet) [Mega menu](/glossary/mega-menu) [Meta description](/glossary/meta-description) [Meta keywords](/glossary/meta-keywords) [nosnippet](/glossary/nosnippet) [OG image (og:image)](/glossary/og-image) [On-page SEO](/glossary/on-page-seo) [Open Graph](/glossary/open-graph) [People Also Ask](/glossary/people-also-ask) [Rich results](/glossary/rich-results) [Search snippet](/glossary/snippet) [Semantic HTML](/glossary/semantic-html) [SERP](/glossary/serp) [SERP features](/glossary/serp-features) [Sitelinks](/glossary/sitelinks) [Thin content](/glossary/thin-content) [Title tag](/glossary/title-tag) [URL length](/glossary/url-length) [URL slug](/glossary/url-slug)

Terms on this page
[Canonical URL](/glossary/canonical-url) [Google Tag Manager](/glossary/google-tag-manager) [robots.txt](/glossary/robots-txt)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
