kpumuk / meta-tags

Search Engine Optimization (SEO) for Ruby on Rails applications.
MIT License
2.73k stars 275 forks source link

Facebook OG meta-tags? #7

Closed stevenkolstad closed 13 years ago

stevenkolstad commented 13 years ago

This would be a cool new additional feature. Add Facebook Open Graph met tags converting a web page into on open graph object.

Thanks for consideration,

Steve

kpumuk commented 13 years ago

You can use :open_graph => {} to set OG tags:

set_meta_tags(:open_graph => {
  :title       => 'Facebook Share Title',
  :description => 'Facebook Share Description'
})

Added in version 1.2.4

sethiele commented 11 years ago

How can i set the "new" openGraph Tags without the og: in the front? Like:

<meta property="app_name:location" content="Sample location" />