You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Facebook link previews can render without the Open Graph image #251
A Facebook post linking to https://aistomin.com/ shows the preview without an image
(and with the pre-redesign title/description). The root cause of that particular post
is Facebook's cache: the link was shared on 2025-10-16, before Open Graph tags were
added to the site (2025-11-19), so Facebook cached a text-only preview. The cache has
since been refreshed via the Sharing Debugger
("Scrape Again") and new shares now render correctly; previews baked into already
published posts do not update retroactively.
However, the layout has real gaps that will reproduce the symptom for future shares:
og:image:width, og:image:height and og:image:alt are missing. Without declared
dimensions Facebook fetches the image asynchronously on the first scrape, so the
first share of any freshly-scraped URL renders without the image.
In _layouts/default.html, always emit an og:image (page image with a site-wide
fallback, e.g. the home OG image), plus og:image:width/og:image:height
(all OG images are 1200×630) and og:image:alt.
Add og:site_name and og:locale.
Extend the Playwright specs to assert the OG image meta (including the fallback on
pages without their own image).
Document in the README or CLAUDE.md that after OG changes, Facebook's cache must be
refreshed via the Sharing Debugger.
Activity