# Open Graph Checker: Link Preview and Social Tags

Fetch a page and read its Open Graph (og:*), Twitter (twitter:*), title, description, canonical and theme-color tags. Probes the og:image for status, type, size in pixels and weight (when checkImage is on). Returns a verdict (ready, gaps, broken, none, error), the tags with duplicates marked, how each of eight apps (Facebook, X, LinkedIn, Slack, iMessage, Discord, WhatsApp, a Google result) would build its card from them with the tag each line came from, the image facts and the share cropped on a wide card, problems (a relative or http image address, a tag added by JavaScript, an og:url that differs from the canonical, a title too long), whether robots.txt blocks the preview bots, and a corrected set of tags. Pages are fetched as LookupOwl, so an app that is served something else may see a different preview. Images from other sites are never loaded for display.

**Not for:** Clearing an app's cached preview, or checking a page you cannot reach from the public internet.

- Tool id: `open-graph-check`
- Category: web
- Execution: network
- MCP tool `open_graph_check` at https://lookupowl.com/mcp
- REST `GET https://lookupowl.com/api/v1/tools/open-graph-check` (or POST a JSON body)
- OpenAPI: https://lookupowl.com/api/openapi.json

## Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `url` | string | yes |  | The page address people will share, such as https://example.com/blog/post. We read its tags and check its image. min length 1, max length 2048 |
| `checkImage` | boolean | no | `true` | Download the first part of the image to measure it (size, type, weight). One extra request. |

## Output

Results are wrapped in an envelope: `tool`, `version`, `requestId`, `data`, `summary`, `meta` (cache status, timing), `permalink`. `data` has these fields:

| Field | Type | Description |
|---|---|---|
| `target` | string |  |
| `asOf` | string |  |
| `fetch` | object |  |
| `verdict` | "ready" \| "gaps" \| "broken" \| "none" \| "error" |  |
| `counts` | object |  |
| `tags` | object |  |
| `jsTagsOnly` | boolean | The tags are added by JavaScript, not in the first response. |
| `image` | object |  |
| `previews` | object |  |
| `robots` | object |  |
| `issues` | object[] |  |
| `suggested` | object |  |

## Examples

### Different tags for each app and an image on another host: github.com/cli/cli

```json
{"url":"https://github.com/cli/cli","checkImage":true}
```

```bash
curl 'https://lookupowl.com/api/v1/tools/open-graph-check?checkImage=true&url=https%3A%2F%2Fgithub.com%2Fcli%2Fcli'
```

Web page: https://lookupowl.com/open-graph-checker?q=https%3A%2F%2Fgithub.com%2Fcli%2Fcli

### A home page: cloudflare.com

```json
{"url":"https://www.cloudflare.com/","checkImage":true}
```

```bash
curl 'https://lookupowl.com/api/v1/tools/open-graph-check?checkImage=true&url=https%3A%2F%2Fwww.cloudflare.com%2F'
```

Web page: https://lookupowl.com/open-graph-checker?q=https%3A%2F%2Fwww.cloudflare.com%2F

### Tags only, without measuring the image

```json
{"url":"https://example.com/","checkImage":false}
```

```bash
curl 'https://lookupowl.com/api/v1/tools/open-graph-check?checkImage=false&url=https%3A%2F%2Fexample.com%2F'
```

Web page: https://lookupowl.com/open-graph-checker?q=https%3A%2F%2Fexample.com%2F&checkImage=false

## Web pages

- https://lookupowl.com/open-graph-checker

## Limits and caching

- Cost: 5 units for a live lookup, 1 unit for a cached one. Budgets are per network and published in the `RateLimit` response headers.
- Cache: results are kept for 300 s. Add `fresh=true` (MCP argument or query parameter) to look again; it costs 3 units per unit and is limited to 10 per hour.
- Timeout: 30 s.

## Related tools

- [AI Readiness Checker for AI Search and Agents](https://lookupowl.com/tools/ai-readiness-check.md): Check whether AI crawlers and agents can find and read a page: robots.txt, content before JavaScript, structured data, sitemaps and llms.txt.
- [Robots.txt Checker: Validate and Test Crawler Access](https://lookupowl.com/tools/robots-txt-check.md): Check a robots.txt: is it valid, which crawlers (search and AI) may fetch a URL, and the exact line that decides.
- [HTTP Headers Checker](https://lookupowl.com/tools/http-headers.md): Fetch a URL, follow its redirects and see every response header, with a security-header grade and caching summary.
- [Security Headers Checker](https://lookupowl.com/tools/security-headers.md): Grade a site's HTTP security headers from A+ to F, with what each one does and the exact header to add.
- [QR Code Generator](https://lookupowl.com/tools/qr-generate.md): Make a static QR code for a link, text, email, phone or Wi-Fi: no account, no expiry and no redirect that tracks scans.

## Guide: Open Graph checker

Paste a page address and see how a link to it looks in the apps people share it in, and why it might not.

### What apps read

When you paste a link into a chat or a post, the app fetches the page and reads a few meta tags from its head: `og:title`, `og:description`, `og:image` and, for X, the `twitter:` tags. If a tag is missing the app falls back to the page title or the meta description, and if there is no image it shows a bare link or a small card. Apps keep what they found for days, so a fix does not show at once.

The checker reads the same tags and measures the image, then draws roughly how each app would build its card. Every line of a card says which tag it came from, so you can see a fallback happen: X reads `twitter:title` first and then `og:title`, and the others read `og:title` and then the page title. It is our drawing, from your tags, not the app's own, and it never loads the picture from your site into your browser.

| App | Reads first | Falls back to |
|---|---|---|
| Facebook | `og:title`, `og:description`, `og:image`, `og:url`, `og:site_name` | The page title and the meta description |
| X | `twitter:card`, `twitter:title`, `twitter:description`, `twitter:image` | The `og:` tag for each one that is missing. With no `twitter:card`, a small card |
| LinkedIn | `og:title`, `og:image` | The page title. Most feeds show no description |
| Slack | `og:` and `twitter:` tags | The page title and the meta description |
| iMessage | `og:title`, `og:image` | The page title. No description |
| Discord | `og:` tags and `theme-color` | The page title. The bar on the left takes the theme color |
| WhatsApp | `og:title`, `og:description`, `og:image` | No description if there is none |
| Google result | The page title and the meta description | Not an Open Graph reader: shown because people ask |

These rules are the usual ones, and the apps change them without notice, so treat the table as a guide.

### What it checks

- **The tags**: a title, a description, an image, a URL and a type; the same tag twice; `name=` where `property=` belongs; an `og:url` that differs from the canonical link; a title long enough to be cut.
- **The image**: that it answers, that it is an image and not a sign-in page, its type, its size in pixels, its weight, how many redirects it takes, and how much a large card would crop. We read only the first part of the file to measure it.
- **The page itself**: tags added by JavaScript, which apps do not run; a page that sends visitors to a sign-in page; a page that answers with an error.
- **The preview bots**: whether robots.txt asks Facebook, X, LinkedIn, Slack, Discord or WhatsApp to stay away, which makes their previews fail.

When something is wrong you get the corrected tags to paste, as plain HTML and in the shape of Next.js metadata, an Astro layout and the Yoast fields in WordPress. We only add or correct what is missing or wrong, and we never invent a title: placeholders sit in angle brackets.

### How to use it

1. **Enter the page people will share**: Type a full address, such as `https://example.com/blog/post`. Tracking parameters such as `utm_source` are dropped from the address we keep.
2. **Look at the cards, then the checks**: The answer says whether the page is ready to share. The cards show roughly what each app would draw. The checks below say what to change and give the line to write.
3. **Refresh each app's copy**: Apps keep a preview for days. After you change the tags, ask each app to fetch the page again with its own tool, such as the Facebook Sharing Debugger or the LinkedIn Post Inspector.

```bash
# The same check as JSON, for a script or an agent
curl "https://lookupowl.com/api/v1/tools/open-graph-check?url=https://example.com/blog/post"
```

> **From an AI assistant** With the LookupOwl MCP server connected, ask "Will my blog post show a picture when I share it on Slack?" The assistant calls `open_graph_check` and answers from the tags. See [using LookupOwl from AI agents](https://lookupowl.com/learn/lookupowl-mcp-ai-agents).

### What we fetch, and as whom

We fetch the page as LookupOwl, then the first part of the image, then the site's robots.txt, all from our server. An app uses its own name, so a site that serves other visitors something else can show an app a different page than it showed us. We never load the image in your browser and never keep a copy: the card has a box that shows the measured size and shape, and a link to open the image yourself. To see which headers the page sends, try the [HTTP headers checker](https://lookupowl.com/http-headers-checker), and for how AI crawlers see it, the [AI readiness checker](https://lookupowl.com/ai-readiness-checker).

### Frequently asked questions

**Why does my preview show an old picture?**

Apps cache previews for days. After you change the tags, ask each app to fetch the page again with its own debugging tool.

**What size should an Open Graph image be?**

About 1200 by 630 pixels is the usual advice, in a common format such as PNG or JPEG, and under a few hundred kilobytes where you can manage it. The page measures yours and shows how a wide card would crop it.

**Why is my image not showing?**

The usual reasons are an address that is relative or starts with http, an image that answers with an error or a sign-in page, a format an app does not draw (SVG, and sometimes WebP), and tags that a script adds after the page loads. The checks name which one you have.

**Do apps run JavaScript to find the tags?**

In general they do not. If your tags are added by a script, the first response has none, and the preview falls back to the page title or to a bare link. Put the tags in the HTML your server sends.

**Can robots.txt break a link preview?**

Yes. Apps such as Facebook, X, LinkedIn and Slack fetch the page with their own crawler names. If robots.txt asks one of them to stay away, its preview can fail. The page checks the six best known.

**Do you save my page or its image?**

No. We read the tags and the first bytes of the image to answer you, and keep neither. The result is cached for a few minutes, as a cache about the page, not about you.
