All You Need To Know About Earning First $100 from Google Adsense Visit Post

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

Posted By : Satyendra Maurya | Last Update : 10:41 PM | Category : |
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.

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.

4 comments:

  1. 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

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

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

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

    ReplyDelete

Although every comment is appreciated, Keep in mind that any link or keyword in the comments may be the reason for deletion of your comment. Thanks for understanding!

#Techno Geek Network

#Proudly Hosted on Blogger


DMCA.com Protection Status

©2014-2016 Techno Geek Network | Technology and Science is What You Make It! | Designed by Satyendra