Skip to content
Shareglow

Open Graph fixes · Slack

Slack link preview not showing

When Slack shows a bare URL instead of a card, its crawler either could not fetch your page or found no usable Open Graph tags in the HTML it received. Slack draws a card layout with a 1200×630 px image and a title of about 200 characters, and every part of it comes from the og:* tags in your server response.

Diagnosis

Why it happens on Slack

Scanner checks: og-title-present, og-image-present, og-image-absolute-url, og-url-present, robots-noindex

The fix

Fix it step by step

  1. Scan the URL: the scanner fetches it server-side like Slack's crawler and lists every missing tag.
  2. Allow the Slackbot-LinkExpanding crawler through your firewall, CDN bot rules and any login wall for the shared URL.
  3. Add og:title, og:description, og:image (absolute https URL) and og:url to the server-rendered <head>.
  4. Deploy, re-scan, and share the link again after clearing the cache as shown below.
<title>Your page title</title>
<meta name="description" content="A one or two sentence summary of this page.">
<meta property="og:title" content="Your page title">
<meta property="og:description" content="A one or two sentence summary of this page.">
<meta property="og:image" content="https://example.com/og.png">
<meta property="og:url" content="https://example.com/page">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Your site name">
<meta name="twitter:card" content="summary_large_image">

Slack cache: Slack has no public refresh button and caches an unfurl for a while after a URL is first posted. Post the link with a new query string such as ?v=2 to get a fresh card, and remove the outdated preview from your own message.

Check your link on Slack

FAQ

Common questions

Why does Slack show my link without a preview?

Slack found no og:title or could not fetch the page. Check that Slackbot-LinkExpanding gets HTTP 200 and that the tags are in the HTML, not added by JavaScript.

Which tags does Slack need for a card?

og:title, og:image and og:url at minimum, plus og:description (shown up to about 300 characters). The image is drawn at 1200×630 px.

Link preview not showing on other platforms