DEV Community

PIT Toolkit
PIT Toolkit

Posted on

Your link shows no image when shared? Debug Open Graph tags in one minute

You share a link on LinkedIn, WhatsApp or X and it shows a grey box, the wrong title, or an old image. Almost always the cause is in the page head.

The usual suspects

  • og:image missing, or pointing to a URL that is not public
  • og:title / og:description missing, so the platform guesses
  • A canonical pointing somewhere else
  • A noindex left over from staging
  • The platform cached an old version

Check before you share

The free Meta & Share Preview Checker shows how a page will look in Google, Facebook/LinkedIn/WhatsApp and X: title, description, share image, canonical, noindex and 15 more checks. Free per page.

The previews are close approximations; every platform crops and caches in its own way. After you fix the tags, use the platform's own debugger to refresh the cached version.

Minimal set that works

<title>Clear page title</title>
<meta name="description" content="One sentence that says what the page gives.">
<meta property="og:title" content="Clear page title">
<meta property="og:description" content="One sentence that says what the page gives.">
<meta property="og:image" content="https://example.com/share.jpg">
<meta name="twitter:card" content="summary_large_image">
Enter fullscreen mode Exit fullscreen mode

Need to check a whole site? Pro (EUR 7, one-time) runs 25 pages at once with a CSV export.

Disclosure: I'm part of the team behind PIT Toolkit.

Top comments (0)