Social media terms

Open Graph

Open Graph is a set of tags in a web page's code that tells social apps which title, description and image to show when someone shares the link.

What is Open Graph?

Open Graph is a small set of meta tags that sit in the head section of a web page. When you paste a link into a post or a chat, the app visits the page, reads these tags and builds a preview card. That card usually shows an image, a title, a short description and the site name. Facebook first introduced the idea, and today most social apps and messaging tools read the same tags.

Without Open Graph tags, an app has to guess. It may grab the wrong image, pull a random line of text or show a bare link with no picture at all.

How Open Graph works

Each tag is one line of HTML with a property and a value. The most common ones are:

  • og:title: the headline shown on the card.
  • og:description: one or two lines under the headline.
  • og:image: the address of the picture the card shows.
  • og:url: the main address of the page.
  • og:type: the kind of page, such as an article or a website.
  • og:site_name: the name of your site, shown small on some cards.

Here is what the code looks like for a blog post: <meta property="og:title" content="How to repot a fern">. You add one line like this for each tag.

When someone shares the link, the app fetches the page once, reads the tags and saves the card. That saved card is what everyone sees, which is why changes don't always show up right away.

What happens when you share a link
  1. 1
    You paste the link

    Into a post, a comment or a chat.

  2. 2
    The app visits the page

    It reads the Open Graph tags in the head.

  3. 3
    It builds a card

    Image, title, description and site name.

  4. 4
    It saves the card

    Everyone sees the saved card until the app fetches again.

Why Open Graph matters for social media

A link with a clear image and a good title stands out in a busy feed. A broken preview looks careless and gives people a reason to scroll past. If you share blog posts, product pages or landing pages, these tags decide how your links look before anyone clicks.

It also matters when other people share your links. You can't control their caption, but your Open Graph tags still decide the image and headline they show. Every share becomes a small ad you designed ahead of time.

How to set up Open Graph tags

Setting up Open Graph tags
  1. 1
    Add the tags

    In the page head or through your site builder.

  2. 2
    Write a sharing title

    Short, clear and inviting.

  3. 3
    Choose a wide image

    Sharp, centered and with little small text.

  4. 4
    Test the link

    Use each platform's preview tool.

  5. 5
    Refresh after changes

    Ask the app to fetch the page again.

  1. Add the tags. Put them in the head of each page, or switch them on in your website builder or SEO plugin.
  2. Write for sharing. Your sharing title and description can differ from your search title. Make them clear and inviting.
  3. Pick a strong image. Use a sharp, wide picture with very little small text on it.
  4. Give each page its own tags. Each important page should have its own title and image.
  5. Test the link. Use the preview or debug tool of the platform you post to.
  6. Refresh after changes. If you change the image later, ask the platform to fetch the page again.

Open Graph on different networks

Most apps read Open Graph, but they don't all show the card the same way. Facebook and LinkedIn usually show a wide image with the title below. Messaging apps often show a smaller card. Some apps crop the image to a square or show only the title on small screens. X reads its own card tags first and falls back to Open Graph when they are missing. On apps where links in captions don't click, like Instagram feed posts, the card doesn't show at all.

Because of this, keep the key part of your image in the center, where it survives cropping. And keep titles short enough to read in a small card.

Testing and fixing previews

Paste your link into the platform's debug or inspector tool before you post. It shows the card the app will build and lists any missing tags. If you see an old image, the tool usually has a button to fetch the page again.

Here is an example. A shop changes a product photo, but shared links still show the old one. The owner runs the link through the debug tool, presses the button to fetch again, and the new photo appears in fresh shares.

Common mistakes

  • A missing or tiny image, which leaves the card blank or badly cropped.
  • Giving every page the same title and image, so every shared link looks alike.
  • Putting small text on the image that nobody can read in a feed.
  • Forgetting that apps save old previews, then thinking your changes didn't work.
  • Pointing og:image at a picture that needs a login to load.

Tools that help

Questions. Answers.

Something else? Write to hello@capybaroar.com.

What does og:image mean?

og:image is the Open Graph tag that points to the picture a social app should show in a link preview. If it is missing, the app may pick a random image or show none.

Why is my link preview showing an old image?

Social apps save previews, so an old image can stick around after you change it. Update the og:image tag, then use the platform's sharing debug tool to fetch the page again.

Does WordPress add Open Graph tags?

Many WordPress themes and SEO plugins add Open Graph tags for you. View your page source and search for og: to see whether they are there.

Does Open Graph help SEO?

Open Graph tags have no direct effect on search rankings. Better link previews can still bring you more clicks from social apps.

Do I need Open Graph if I use a link in bio page?

It still helps, since people may share that page in chats and posts. A clear image and title make those shares look better.