Blogger Tutorials

How To Show Facebook Profile As Author Meta Tag While Sharing For Blogger? – [Solved]

I would like to welcome you to Techno Geek Zone, In this post I am going to show you how you can add/show your Facebook profile or page as an author meta tag while sharing your posts on Facebook.
Above is an example how your tags may appear when you are going to use facebook graph api of Facebook meta tags for blogs and websites. You are supposed to add some extra meta tags in your template in order to implement the changes. You can also check your share preview from here – https://developers.facebook.com/tools/debug/

Follow Below Steps To Add :

Complete all the steps to show your Facebook page or profile as author meta tag while sharing on Facebook.

Advertisements

Code To Be Changed Above <head> Tag :

Add xmlns:og=’http://ogp.me/ns#’  as show in the below example:
<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#‘>

Add The Below Code In The <Head> Tag :

<b:if cond=’data:blog.pageType == &quot;item&quot;’>
<meta expr:content=’data:blog.pageName’ property=’og:title’/>
<meta expr:content=’data:blog.canonicalUrl’ property=’og:url’/>
<meta content=’article’ property=’og:type’/>
</b:if>
<meta expr:content=’data:blog.title’ property=’og:site_name’/>
<b:if cond=’data:blog.postImageThumbnailUrl’>
<meta expr:content=’data:blog.postImageThumbnailUrl’ property=’og:image’/>
<b:else/>
<metacontent=’http://4.bp.blogspot.com/-h8cM_mreB8Y/VYqZ0AbjZXI/AAAAAAAAB-c/0v6rgfn_TxA/s1600/technogeekzone%2B.jpg’ property=’og:image’/>
</b:if>
<b:if cond=’data:blog.metaDescription != &quot;&quot;’>
<meta expr:content=’data:blog.metaDescription’ name=’og:description’/>
</b:if>
<meta content=’https://www.facebook.com/technogeekzone’ property=’article:publisher’/>
<meta content=’https://facebook.com/TheGeekyBloggers‘ property=’article:author’/>

Change TheGeekyBloggers with the username ID of the profile or page you want to show up in the sharing box.

Article written by:

Satyendra is a Biotechnologist from the city of Nawabs, Lucknow. Apart from blogging, his other interests are Indian rap knowledge, affiliate marketing, poetry, and basically anything nerdy.

Join the discussion

  1. Unknown

    This is extremely helpful info!! Very good work. Everything is very interesting to learn and easy to understood. Thank you for giving information. great article, I was very impressed about it, wish you would have stayed next share
    mississippi social media experts

  2. Satyendra Maurya

    Thanks Hiral Cooper for stopping by here! I appreciate your comment and stay connected.

  3. judden jout

    You are offered various alternatives with respect to the amusements you'd like to play. freedom.apk

  4. judden jout

    You can play miniclip recreations, or simply your customary arcade diversions that you grew up with. playbox.apk

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

back to top