Skip to content

Comment on 42% of URLs have Open Graph tags

Comments

OpanGraph has numerous problems which hinder it appearing by default in HTML:

- It is verbose and bloats the page. You have a dozen of tags in the best case, but if you have an album of something you might need to provide a set of og tags for every object, which is a lot.

- You often need a different set of og tags on the same page in order to make facebook treat that page differently (you can be doing different things on the same page). So you end up serving a special version of page with og tags to facebook by user-agent.

For simplier cases, you don't even need og, and for more complicated ones, they are facebook-specific and you'll have trouble using those for anything else.

The overall experience from og and facebook: Bad. Don't like.

Also: OpenGraph hates the web and cannot be embedded in any valid HTML document and XHTML validation requires using a custom DTD. I'd really like it if they'd just adopt the standard HTML5 microdata approach and avoid the need to end up bloating out <head> with a bunch of <meta> tags duplicating content found elsewhere on the page.

What would you propose as a replacement? I agree that it can be a pain, but I'm struggling to think of a better system.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.