Skip to main content

One post tagged with "seo"

View All Tags

Testing Open Graph while developing, the sane workflow

· 4 min read
Pere Pages
Software Engineer

Testing Open Graph locally is a bit deceptive: your browser can see localhost, but Facebook, LinkedIn, Slack, Discord, X/Twitter, etc. cannot.

The best workflow is:

1. Check the HTML locally
2. Expose localhost with ngrok
3. Test the public URL in real social preview/debugger tools

Chrome plugins are useful for fast feedback, but the final validation should happen through a public HTTPS URL.

Open Graph Logo

https://ogp.me/