Skip to main content
SEO

Open Graph tags: stop your links looking terrible on Slack

Open Graph metadata controls the title, description, image, and canonical URL previewed by social clients. Generate it from the same page data, use absolute URLs, and test the scraper result.

Thien Nguyen
By Thien Nguyen
Updated June 2, 2026 · 1 min read

A perfect page can still look broken when its shared preview has no image, a stale title, or an accidental localhost URL.

<meta property="og:title" content="Article title">
<meta property="og:description" content="Useful summary">
<meta property="og:image" content="https://example.com/og.jpg">
<meta property="og:url" content="https://example.com/article">

Short answer: set title, description, canonical URL, and a crawlable absolute image URL for each shareable page. Keep metadata sourced from the page itself so the preview cannot drift from content.

Social platforms cache previews aggressively. A fixed tag may need their debugger/rescrape tool before the new image appears.

Treat preview metadata as part of the publishing surface, not an afterthought.

Cover photo by Stanislav Kondratiev on Pexels.

References

Primary documentation and specifications checked when this article was last updated.

SEOOpen GraphWeb

Related articles

All articles