Blogspot OpenGraph integration Code

<head prefix=’og: http://ogp.me/ns# fb: http://graph.facebook.com/schema/og/ article: http://graph.facebook.com/schema/og/article’>

<b:if cond=’data:blog.pageType != &quot;index&quot;’>
<meta expr:content=’data:blog.title’ property=’og:site_name’/>
<meta expr:content=’data:blog.pageName’ property=’og:title’/>
<meta content=’article’ property=’og:type’/>
<b:else/>
<meta expr:content=’data:blog.title’ property=’og:title’/>
<meta content=’blog’ property=’og:type’/>
</b:if>
<meta expr:content=’data:blog.metaDescription’ property=’og:description’/>
<meta expr:content=’data:blog.canonicalUrl’ property=’og:url’/>
<b:if cond=’data:blog.postImageThumbnailUrl’>
<meta expr:content=’data:blog.postImageThumbnailUrl’ property=’og:image’/>
<b:else/>
<meta content=’http://blog-img-url’ property=’og:image’/>
</b:if>
<meta content=’1020412247′ property=’fb:admins’/>
<meta content=’348446671899960′ property=’fb:app_id’/>
<meta content=’en_US’ property=’og:locale’/>
<meta content=’en_GB’ property=’og:locale:alternate’/>
<meta content=’hi_IN’ property=’og:locale:alternate’/>

 

 

 

 

Comments

comments