How to use it
- Paste the address of the page you want to share on Facebook.
- Press Check link. Facebook is already selected: you see a sketch of the card and a checklist based on Meta's documentation for webmasters.
- Fix your tags, check again, then ask Facebook to read the page again with the Sharing Debugger (below).
No Facebook account is needed here. The checker also opens the image file to read its real size, format and weight, which Facebook's card depends on.
Facebook's rules
- Basic tags:
og:url,og:title,og:descriptionandog:image, plusog:type. Keep the title free of your site's name; Facebook shows the domain anyway. - Image size: at least 200 × 200 px or Facebook won't use it. Below 600 × 315 px the image shows small. 1200 × 630 px, about 1.91:1, looks sharp everywhere. Up to 8 MB.
- Image dimensions: add
og:image:widthandog:image:height. Without them, the first person to share a new link may get a card without the image while Facebook processes it. - Page size: the Open Graph tags must sit in the first 1 MB of the page, or Facebook doesn't see them.
- Crawler: Facebook's crawler identifies as facebookexternalhit. Your server must answer it quickly and support gzip or deflate. Meta says this crawler may ignore robots.txt for security checks, so robots.txt isn't a dependable way to block or allow it.
- fb:app_id: only needed if you use Facebook Insights for your site. The Sharing Debugger warns when it's missing; you can ignore that warning otherwise.
Refreshing with the Sharing Debugger
Facebook stores the card the first time a link is shared. After you change your tags:
- Open Meta's Sharing Debugger and sign in.
- Paste the address, press Debug, then Scrape Again.
- Check the preview it shows, then share the link.
Images are cached by address: to replace an image, upload it under a new file name and keep the old file online, because existing posts may still use it. Posts already shared don't update on their own.
Questions
What's the best image size for Facebook links?
1200 × 630 px (1.91:1) as PNG or JPEG, well under 8 MB. Anything from 600 × 315 px up still shows as a large image; smaller images appear as a thumbnail.
Why is the image missing the first time I share a link?
Facebook hadn't fetched the image yet. Add og:image:width and og:image:height, or run the address through the Sharing Debugger before you post.
Why does Facebook still show my old title or image?
It's showing the copy it saved earlier. Press Scrape Again in the Sharing Debugger. If the image stays old, give the new image a new file name.
Do I need fb:app_id?
Only for Facebook Insights about your site. Without it, link previews work exactly the same.