pmeerw's blog

17 Sep 2022

Sat, 17 Sep 2022

Open Graph meta tags

Open Graph meta tags allow a web page to be interpreted/rendered nicely by social media platform, such as Twitter, Facebook (who originally created it), etc. It's as simple as putting some <meta property="og:xxx" content="..."/> in the <head> of an HTML page, where xxx can be title, type, description, image, etc.

https://www.opengraph.xyz is really useful for checking, previewing and generating Open Graph meta tags, thanks to Duncan for pointing out!

Another proposal to add information to web pages is JSON for Linking Data (JSON-LD). Here the focus is on machine-readable meta data for a person, place, event, product, recipe, etc. Yet another is Twitter Cards.

posted at: 22:05 | path: /configuration | permanent link

Made with PyBlosxom