Welcome to WebmasterWorld Guest from 54.167.65.217

Forum Moderators: httpwebwitch & not2easy

Message Too Old, No Replies

Open Graph Tags for 'like' buttons

What to use for web pages?

     
7:55 pm on Apr 12, 2012 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month

joined:Sept 16, 2009
posts: 995
votes: 48


Hi, just getting into this and have a question about the <meta property="og:type" content=""/> tag.

We're supposed to use 'website' on the home page, 'blog' on the blog homepage and 'article' for individual blog posts.

What are we supposed to use for other pages? They are informational pages that might (hopefully) get shared but they are permanent so 'article' apparently shouldn't be used, and the other two are only supposed to be used on one page only on each site.
3:10 am on Apr 13, 2012 (gmt 0)

Moderator from AU 

WebmasterWorld Administrator anallawalla is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 3, 2003
posts:3701
votes: 3


You are not restricted to "Website" types. If a "Product" type is relevant, then use one of those, or you can make up your own namespace.

My guess is that "article" is for the transient appearance on the home page of a blog, but the detailed post would use something more appropriate.
10:24 am on Apr 13, 2012 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month

joined:Sept 16, 2009
posts: 995
votes: 48


Thanks. No, no 'product' type or business type is relevant. I've double checked the recommended types. I don't want to make my own.

I've done a bit of digging, and from what I can see, people use the 'website' tag on all pages. I can see how this would be attractive because it means that a 'like' for any page on the site is a 'like' for the site as a whole (and turns the 'liker' into a fan/subscriber/whatever-it-is-this-week on Facebook).
10:28 am on Apr 13, 2012 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month

joined:Sept 16, 2009
posts: 995
votes: 48


My guess is that "article" is for the transient appearance on the home page of a blog, but the detailed post would use something more appropriate.

Not from my reading of the guidance. [developers.facebook.com...]