Adding Writer Identification, To Postal Service On Facebook

Similar to the Google Authorship feature, FaceBook provides an writer identification feature.

FaceBook uses "Open Graph" code to reach what Google provides, alongside unproblematic dorsum too forwards links. The required FaceBook OG code is added to the spider web log template, equally metadata.

To add together opened upward graph FaceBook authorship identification to this blog, I added the necessary code to the spider web log template. You tin create the same, alongside your blog.

Adding FaceBook writer identification to a Blogger spider web log is exactly a affair of adding the correct meta code to the template header.


(Update 3/14): Blogger Engineering late added OG code to the measure template header - too some of this tweak may move unnecessary for many spider web log owners.

Use the Template Editor. Start past times locating the "<HTML ... >" tag, at the peak of the template header.

<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr' xmlns:og='http://ogp.me/ns#'>

Then add together a code block, at in 1 trial later on the "<HTML ... >" tag.

<!-- BEGIN Open Graph tags -->
<meta expr:content='data:blog.metaDescription' name='description' property='og:description'/>
<meta expr:content='data:blog.pageTitle' name='keywords'/>
<b:if cond='data:blog.pageType == "item"'>
<meta content='article' property='og:type'/>
<meta content='https://plus.google.com/nnnnnnnnnnnnnnnnnnnnn/about' property='article:author'/>
<meta expr:content='data:blog.canonicalUrl' property='og:url'/>
<meta expr:content='data:blog.pageName' property='og:title'/>
<b:if cond='data:blog.postImageUrl'>
<meta expr:content='data:blog.postImageUrl' property='og:image'/>
<b:else/>
<meta content='http://xxxxxxxxxxxxxxxxx/xxxxxxxxxxxx/xxxxxxxxxxx/xxxxxxxxxxx/xxxxxxxxxxx/S1600-R/yyyyyyyyyyyyy.gif' property='og:image'/>
</b:if>
<b:else/>
<meta expr:content='data:blog.title' property='og:title'/>
<meta expr:content='data:blog.canonicalHomepageUrl' property='og:url'/>
<meta content='blog' property='og:type'/>
<meta content='http://xxxxxxxxxxxxxxxxx/xxxxxxxxxxxx/xxxxxxxxxxx/xxxxxxxxxxx/xxxxxxxxxxx/S1600-R/yyyyyyyyyyyyy.gif' property='og:image'/>
</b:if>
<meta expr:content='"en_US"' property='og:locale'/>
<!-- END Open Graph tags -->

You volition render like code, inwards your blog's template, when you lot create this. You'll add together the code, equally above.

  • One small snippet, added to the HTML tag.
    xmlns:og='http://ogp.me/ns#'
  • The main code block, next the HTML tag.

You'll involve to alter ii details, inwards the main code block, exactly added.


This is the basic code which is required, for FaceBook Authorship.


The halt number - for this blog, home page.




The halt number - for this post.



Having added the code to your template, you lot tin verify the code, using the FaceBook Debugger. If necessary, you lot may involve advice from FaceBook Support.

And please, backup the template, before too after you lot brand this change!

This characteristic should larn inwards easier to break Blogger links too posts to FaceBook - too to permit us to break posts containing photos, to a greater extent than reliably. For a version that's slightly easier to understand, 1 tin add together simpler Open Graph code to enable proper sharing of posts alongside photos.

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel