
Your OG Tags Are Probably Broken — Here's a 25-Line Script to Audit Them All
You spent a week building your landing page. You shared the link on Twitter. It showed up as a blank box with no image, no description, and your raw URL as the title. OG tags are the invisible metadata that controls how your page looks when someone shares it on Slack, Twitter, LinkedIn, or iMessage. When they break — and they break constantly — you look unprofessional, engagement drops, and you only find out when it's embarrassing. The good news: auditing them takes 25 lines of Node.js. What OG Tags Are (and Why They Break) Open Graph tags live in your HTML <head> . They tell social platforms and chat apps what to display when someone pastes your URL: <meta property= "og:title" content= "SnapAPI — Screenshot Any Website via API" /> <meta property= "og:description" content= "Capture full-page screenshots, PDFs, and page metadata with one API call. No Puppeteer required." /> <meta property= "og:image" content= "https://snapapi.tech/og-card.png" /> <meta property= "og:url" content= "https
Continue reading on Dev.to Webdev
Opens in a new tab



