Preview tool for Open Graph tags

wheresrhys picture wheresrhys · Mar 11, 2013 · Viewed 25.5k times · Source

Twitter has a really useful preview tool for testing the tags you're adding to your development version of a site are correct https://cards-dev.twitter.com/validator. Is there something similar for Facebook Open Graph?

Answer

chenware picture chenware · Sep 7, 2016

There are several og tag validators out there. Facebook's is probably the nicest, mentioned above: https://developers.facebook.com/tools/debug/, but there other non-commercial options as well, though I haven't found a reason to use them.

You can find details on the og tag spec here: http://ogp.me/

If you're looking to nice tool to help you test when building local, I've found ngrok to do the trick: https://ngrok.com/

UPDATE: Commenter Ryan noted that ngrok no longer works, but localtunnel does: how to test open graph on localhost