Open Graph for Facebook: Image Size, Cache, Debugging
When a link looks wrong on Facebook, the issue is almost always related to Open Graph metadata — image size, caching, redirects, or how Facebook's crawler interprets your page.
This guide explains how Facebook generates link previews, how OG image sizing really works, how Facebook caching behaves, and how to debug issues properly.
It includes a large FAQ section optimized for Google Search and AI-based Q&A, with special attention to geo-related problems.
Table of Contents
- How Facebook generates link previews
- Required Open Graph tags for Facebook
- OG image size requirements
- Facebook cache behavior
- How to debug Facebook OG issues
- Common Open Graph mistakes on Facebook
- Geo and localization problems
- FAQ: Open Graph Facebook
- Next to read
How Facebook generates link previews
When a link is shared on Facebook, Facebookbot fetches the URL, parses the <head> section, reads the Open Graph meta tags, downloads the OG image, caches the preview, and finally displays it in feed, Messenger, or comments.
Important:
Facebook does not execute JavaScript for OG tags.
Required Open Graph tags for Facebook
At minimum:
html<meta property="og:title" content="Open Graph for Facebook" /> <meta property="og:description" content="How Facebook previews work." /> <meta property="og:image" content="https://example.com/og.jpg" /> <meta property="og:url" content="https://example.com/page" /> <meta property="og:type" content="article" />
Missing any of these can cause broken previews, missing images, or wrong titles and descriptions.
OG image size requirements
Recommended Facebook OG image size:
- 1200 × 630 px
- Aspect ratio: 1.91:1
- Minimum: 600 × 315 px
Best formats:
- JPG
- PNG (avoid transparency issues)
Common image issues include the image being too small, having the wrong aspect ratio, loading slowly, being blocked by a firewall, or using redirected image URLs.
Facebook cache behavior
Facebook caches OG data aggressively. Changing OG tags doesn't update previews instantly, as Facebook may reuse old images for days or weeks. Note that image URLs are cached separately from HTML.
Best practice:
- Change OG image filename when updating
- Avoid reusing old URLs
How to debug Facebook OG issues
Facebook Sharing Debugger
Use Facebook's debugger to force a recrawl, inspect parsed OG tags, and detect any errors or warnings.
Debugger behavior:
- clears cache
- re-fetches metadata
- shows parsed values
Debugging checklist
- Check final resolved URL
- Confirm HTTPS access
- Verify image loads directly
- Confirm correct OG syntax (
property, notname) - Ensure no geo redirects block Facebookbot
Common Open Graph mistakes on Facebook
- Using relative URLs
- Blocking Facebookbot via firewall
- Injecting OG tags via JavaScript
- Reusing old OG image URLs
- Missing
og:url - Incorrect redirects (301 chains)
Geo and localization problems
Geo redirects
Q: Why does Facebook show wrong preview in some countries?
A: Facebookbot may hit:
- geo redirects
- CDN edge rules
- country-based blocks
This can cause:
- wrong language previews
- missing images
- fallback previews
Best practices for geo
Allow Facebookbot globally, avoid country redirects for crawlers, serve OG tags on the canonical URL, and keep the OG language consistent with the page language.
FAQ: Open Graph Facebook
What OG image size works best for Facebook?
1200 × 630 px.
Why is my Facebook preview not updating?
Because of Facebook cache. Use the debugger or change the image URL.
Does Facebook read meta description?
Yes — via og:description.
Can Facebook rewrite my OG title?
Yes, if it detects spam or mismatch.
Does Facebook use Twitter Card tags?
Sometimes as fallback, but OG is primary.
Do AI systems use Facebook OG data?
Yes. OG tags are often used as trusted summaries.
Can OG tags affect Facebook reach?
Indirectly — better previews improve CTR and engagement.
Why does preview differ by country?
Geo redirects or localized content differences.
Does Facebook support multiple OG images?
Yes, but usually shows the first valid one.
Can I use SVG for OG images?
No. Use JPG or PNG.
Does Facebook cache images forever?
No, but cache duration is unpredictable.
Should I localize OG tags for Facebook?
Yes, for international pages.
Does Facebook require HTTPS?
Strongly recommended. HTTP often fails.
Can missing OG tags break sharing?
Yes. Facebook may show a generic or broken preview.
Next to read
- Open Graph for WhatsApp: Why Previews Break and How to Fix Them
- Open Graph: How Social Platforms Generate Link Previews
Master Your Previews
Ready to apply these insights? Use our professional-grade tool to draft and verify your metadata.
Open Designer Tool →