
How-ToWeb Development
Quick tip: your og:image should be 1200x630px
via Dev.to WebdevBen Greenberg
Quick tip about link previews: Your og:image should be 1200x630px . Most sites get this wrong — either wrong dimensions, an SVG (which many platforms reject), or a relative URL instead of absolute. Check yours: curl -s https://yoursite.com | grep 'og:image' If you're building something that reads og:image from other sites, the LinkPreview API handles all the edge cases: https://rapidapi.com/hummusonrails/api/linkpreview1
Continue reading on Dev.to Webdev
Opens in a new tab
0 views




