Check 10.22 · On-page SEO and metadata

Test social sharing

Test your link previews on Facebook, LinkedIn, X, WhatsApp, Slack and Teams, clear the platforms’ caches and fix missing images or titles.

Priority
Important
Difficulty
Easy
Estimated time
30 min to 2 h
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

Having Open Graph tags does not guarantee a good preview: the image may be blocked, too heavy or cached in an old version, or the tags may be injected too late by JavaScript. The check consists of testing, for each page type, the actual preview on the platforms where your audience shares, with the official tools where they exist, clearing caches after a fix, and recording the result in a grid. Once it is done, every template produces a complete preview (image, title, description) everywhere it matters.

Why it matters

Every platform has its own crawler and its own cache. When a link is pasted, a crawler fetches the page (facebookexternalhit for Meta, LinkedInBot, Twitterbot, Slackbot-LinkExpanding, WhatsApp…), reads the tags and keeps the result. If this crawler receives a 403 error from a firewall, a consent page or a page without tags, the preview is empty, and it will stay that way for a while for every user.

The constraints differ. Meta only reads the first megabyte of the page: tags placed after a large block of scripts are cut off. It caches images by URL and only updates them if the URL changes. LinkedIn shows images less than 401 pixels wide as a thumbnail and rejects those over 5 MB. Messaging apps often crop the image to a square.

A shared link circulates for a long time. A page cited by an AI assistant, then copied into a team conversation or a WhatsApp group, is often seen first as a preview. A broken preview costs clicks with every share.

What it improves

  • Click-through rate on shares A complete preview attracts more than a bare link. The effect is not quantified by the platforms.
  • Detecting blocks A firewall, bot protection or consent page that prevents sharing crawlers from reading the page.
  • Fresh previews Caches cleared after a title or image change.
  • Brand image No squashed logo or cookie banner in place of the image.
  • Rankings No direct effect.

How to check

In two minutes, for one page:

curl -s -A "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)" -o /dev/null -w "%{http_code}\n" https://example.com/guides/infusion-the-vert/
curl -s -A "LinkedInBot/1.0" https://example.com/guides/infusion-the-vert/ | grep -c -i 'property="og:'

Expected result: 200, and a count of og: tags greater than zero. A 403, a 429 or a challenge page signals a block by the firewall or the CDN.

Then paste the URL into Meta’s Sharing Debugger: it shows what the crawler sees, the warnings and the preview. A compliant page shows no missing property and displays the expected image.

How to implement

Step 1 — Choose the pages and platforms

Test one example per template, not every page: home, article, category, product or service page, landing page. Add the most shared pages (to be found in your analytics tool, “social” or “referral” source).

Keep the platforms your audience uses. For a local tradesperson: Facebook, WhatsApp, Messenger. For a B2B software publisher: LinkedIn, Slack, Teams, X. For an online shop: Facebook, Pinterest, WhatsApp, Instagram (links in direct messages).

Step 2 — Test with the official tools

Platform Tool What it does
Facebook, Messenger, Instagram (links) Sharing Debugger Shows the tags read, errors and the preview; “Scrape Again” triggers a new crawl
LinkedIn Post Inspector Shows the preview and the properties read; an inspection refreshes the preview
X No validation tool Paste the link into the post composer, without publishing: the preview appears
WhatsApp, Telegram, Signal No public tool Send the link in a conversation with yourself
Slack, Teams, Discord No public tool Send the link in a private test channel

The Sharing Debugger fetches the page again with every test: it is also the tool for updating a preview after a fix. Meta also states that it refreshes shared content on a standard 24-hour cycle. For Telegram, the @WebpageBot bot lets you request an update of a preview.

Step 3 — Diagnose

Symptom Likely cause Fix
No preview, or title only Crawler blocked (403, 429, challenge) Allow the crawler in the firewall or CDN
Title “Manage consent” or “Access denied” Consent or login page served to the crawler Serve the content without blocking; the banner must not replace the page
No image og:image relative, blocked, returning 404, or too heavy Absolute HTTPS URL, accessible file, under 1 MB recommended
Old image Platform cache New image URL, then a new fetch in the tool
Small thumbnail instead of a large image Image too small or twitter:card set to summary 1200 × 630 pixels; summary_large_image
Wrong title or wrong image Duplicate tags (theme plus plugin) A single source of tags
Tags missing for the crawler but present in the browser Tags injected with client-side JavaScript Server-side or build-time rendering
Tags cut off on Facebook Tags beyond the first megabyte Put the tags at the top of the <head>

Tag configurations by CMS and framework are in configure Open Graph and X Cards (opens in a new tab).

Step 4 — Allow sharing crawlers

Cloudflare. In Security > Analytics, filter events by user agent (facebookexternalhit, LinkedInBot, Twitterbot, Slackbot, WhatsApp). If a rule blocks or challenges them, add an exception in the security rules, preferably based on the verified bots category rather than the user agent alone, which is easy to spoof. The global bot fight mode can also get in their way: check it after every change.

Other firewalls (Wordfence, ModSecurity, Nginx rate limits): look in the logs for requests from these user agents with a 403 or 429 status.

grep -E "facebookexternalhit|LinkedInBot|Twitterbot|Slackbot|WhatsApp|TelegramBot|Discordbot" /var/log/nginx/access.log | awk '{print $9}' | sort | uniq -c

robots.txt. Meta’s documentation states that facebookexternalhit may bypass robots.txt for security or integrity checks, and that changes to robots.txt can take up to 24 hours to be taken into account. A blanket Disallow remains a common cause of empty previews: do not block the public pages you want to see shared.

Warning: do not serve sharing crawlers content that differs from what visitors see. Serve them the same page, simply without blocking.

Step 5 — Clear caches after a fix

  1. Facebook, Messenger, Instagram: Sharing Debugger, Scrape Again button. If the image has changed, publish it under a new URL (og-infusion-the-vert-v2.jpg), otherwise the old one stays cached.
  2. LinkedIn: a new inspection in Post Inspector.
  3. X, WhatsApp, Slack, Teams: no documented manual purge. A parameter added to the URL (?v=2) forces a new preview for a test, but do not use it in the links you publish: it creates a URL variant.
  4. Your own cache: purge the CDN and the caching plugin, otherwise crawlers still receive the old page.

Step 6 — Record and schedule

Keep a test grid, for example in Google Sheets:

Template URL tested Platform Image Title Description Status Date Action
Article /guides/infusion-the-vert/ Facebook OK OK OK Compliant 2026-11-20
Article /guides/infusion-the-vert/ LinkedIn Thumbnail OK OK To fix 2026-11-20 600 px image, switch to 1200 × 630
Product page /produits/sencha-kagoshima-bio/ WhatsApp Missing OK Missing To fix 2026-11-20 Firewall: 403 for WhatsApp
Home / Slack OK “Home” OK To fix 2026-11-20 Generic og:title

Fictional examples. Run the test again after every change of theme, CDN, firewall or SEO plugin, and once a quarter on the main templates.

Common mistakes

  • Testing in the browser only: the browser sees tags injected by JavaScript; sharing crawlers do not.
  • Replacing the image at the same URL and waiting for the preview to change: Meta caches images by URL.
  • Forgetting to purge the CDN before running the platform’s tool again.
  • Overly broad bot protection: it blocks sharing crawlers just like malicious bots.
  • A consent banner served instead of the page: the preview shows “Cookie settings”.
  • Testing a single page: a broken template (product pages, articles) goes unnoticed.
  • Publishing links with ?v=2 to get around a cache: a needless URL variant and skewed measurement.

Frequently asked questions

Does X’s Card Validator still work?

The card validation tool no longer previews link cards. To test, paste the link into the post composer without publishing it: X shows the preview it has fetched. If the image is missing, check the twitter:card tag, that the image is accessible and your firewall rules for the Twitterbot crawler, then try again a few minutes later.

Why doesn’t the WhatsApp preview show an image?

The usual causes are an image that is too heavy, a relative or HTTP image URL, a file blocked by the firewall, or a crawler that receives a consent page instead of the page. Test the URL with curl while simulating a WhatsApp user agent, check for a 200 response and the presence of og:image, then reduce the image to under 1 MB and send the link in a new test conversation.

Should sharing crawlers be allowed through the firewall?

Yes, if you want complete previews. The crawlers of Meta, LinkedIn, X, Slack or WhatsApp must receive the page with a 200, like a visitor. Preferably allow them through your CDN’s verified bots category or their published IP ranges, rather than by user agent alone, which is easy to imitate. Do not serve them content that differs from what visitors see.

Updated on

Topic checklist (PDF)

And now?

In the “On-page SEO and metadata” topic

  1. Write a unique title for each important page
  2. Include the main topic naturally
  3. Place important terms early if relevant
  4. Aim for 50–60 characters as an optional benchmark
  5. Avoid generic and repetitive titles
  6. Write a specific meta description
  7. Aim for 140–160 characters as a benchmark
  8. Convey a value proposition and encourage clicks
  9. Use one clear main H1
  10. Align the H1 with search intent
  11. Structure H2/H3 headings
  12. Avoid purely decorative headings
  13. Introduce the topic naturally
  14. Use semantic variants
  15. Break up paragraphs
  16. Use lists and tables where helpful
  17. Add a table of contents and anchors to long content
  18. Optimize URLs and slugs
  19. Check the lang attribute
  20. Set up a favicon
  21. Configure Open Graph and X Cards
  22. Test social sharing
  23. Analyze CTR and optimize snippets