OGCheck tool detects broken Open Graph previews in one CI pipeline command
A developer has released OGCheck, a free open-source Python tool designed to catch broken social media link previews before they go live. The tool validates Open Graph tags and actively requests the og:image URL to confirm it returns a valid HTTP 200 response, rather than assuming the tag alone is sufficient. OGCheck can be run as a command-line check, integrated into CI pipelines, or added as a GitHub Action, and exits with a non-zero code if required tags are missing or images return 404 errors. It also exposes a free JSON API with endpoints to inspect robots.txt and sitemap.xml for common silent failures. The creator is considering a paid monitoring tier that would alert users when previews break across multiple tracked URLs.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in