Google+ and openGraph

Are there tags to specify the Google +1 story format in Google+ like og-meta for Facebook?

Google uses schema.org microdata to generate rich snippets in search (and in Google+). There’s a lot written about schema.org and how it relates to Facebook OpenGraph in these two links:

See: http://www.google.com/support/webmasters/bin/answer.py?answer=1211158 See: https://developers.google.com/+/plugins/+1button/

Some important bits:

+Snippet

After +1’ing a page, the user is given the option to share the page to Google+ via a displayed Share bubble. This share bubble (along with the resulting Google+ activity post) includes a preview, or +Snippet, that contains the page title, a brief description of the page, and a thumbnail image. These pieces of data are extracted from the target URL’s content in one of four ways, listed in order of precedence:

Schema.org microdata (recommended) If the page is annotated with schema.org microdata, the +Snippet will use the name, image, and description properties found on any schema.org type.

<body itemscope itemtype="http://schema.org/Product">
  <h1 itemprop="name">Shiny Trinket</h1>
  <img itemprop="image" src="image-url"></img>
  <p itemprop="description">Shiny trinkets are shiny.</p>
</body>

Open Graph protocol If the page contains Open Graph properties for the title, image, and description, then they will be used for the +Snippet.

<meta property="og:title" content="..."/>
<meta property="og:image" content="..."/>
<meta property="og:description" content="..."/>

Meta “title” and “description” tags If the page’s element contains and tags, the +Snippet will use their content attributes for the title and description, respectively. For the thumbnail image, the sharebox will attempt to find a suitable image on the page.

<meta name="title" content="..." />
<meta name="description" content="..." />

If I share a link to our webapp (restorm.com) in Google+ then the title, description and image are taken from the respective og: tags (og:title, og:description, og:image). So the title and description are definitely taken from og:title and og:description, and not from the title and description meta tag…


Images that are too small or not square enough will not be included in the +Snippet, even if explicitly referenced using schema.org microdata or Open Graph markup. Specifically, the height must be at least 120px, and if the width is less than 100px, then the aspect ratio must be no greater than 3.0.


meta og:image works, secret is to have image large enough. It failed at 140×112 and work when I change to bigger thumbnail 511×364


Just answered this on another post Google +1 Generated Thumbmail in Profile

Looks Like Google+1 has the following data hierarchy:

  1. Open graph tags http://ogp.me/ – seems at the moment the only way to add the thumbnail is to use the og:image tag
  2. Normal meta tags i.e title, description
  3. Page content if there’s no description set in the above options then the description is taken from the content on the page.

Hope this helps.


I am working on this, and Google+ wasn’t picking up my OG tags.

When I put: <body itemscope itemtype="http://schema.org/Article"> into the HTML it started to pick them up.

Hope this saves someone some time!

This entry was posted in Dev, Technology. Bookmark the permalink.

Leave a Reply