• Tutorials
  • Blogger Themes
  • Blogger SEO
  • Blogger Widgets
  • Internet
  • Mobile Phones
  • Gadgets
BloggerHero - Blogger Tuts, SEO, Themes, Gadgets
  • Home
  • Blogger
  • SEO
  • Themes
  • Internet
  • Widgets
  • Gadgets
  • About
  • search
    close

How to Add Facebook Open Graph for Blogger

 Rohitkumar  05:29  43 comments
Tweet

How to Add Facebook Open Graph for Blogger

Well guys, In last post I had explained about Why Facebook is not showing post thumbnails and meta post description of your blog. Well here we are going to see how to add the Facebook Open Graph To your blogger blog. This is really simple task just follow these easy steps :

 How To Add Facebook Open Graph for Blogger :

1. Go to Blogger > Dashboard > Template > Edit HTML [Make Backup before editing]
2. In the editor, at the top you will see html xmlns just similar like following code :
<html 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'>
3. So here you need to paste the code xmlns:og='http://ogp.me/ns#' before closing the tag, just like below codes :
<html 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#'>
( for newbies, if you are getting trouble doing this, you can simply copy above code and paste it above <head> and follow the 4th step]
4. Now you have added Facebook Protocol Tag, lets add Open Graph Meta Tags.
5. Find the code <head> in your blog and paste the following line of codes below it.
<b:if cond='data:blog.pageType == "item"'>
<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/>
<meta content='logo-link' property='og:image'/>
</b:if>
<b:if cond='data:blog.metaDescription != ""'>
<meta expr:content='data:blog.metaDescription' name='og:description'/>
</b:if>
<meta content='app_id' property='fb:app_id'/>
<meta content='fb_admins' property='fb:admins'/>
6. Here you need to logo-link with Your Blog's Logo link, also you need to replace your app_id and fb_admins respectively and then just hit Save Template.

That's it, you have installed Facebook Open Graph for your blogger blog. After some time go to you blog post and try to share it, it will work 100% and hence the facebook share issue will be eliminated.

I hope you would have liked above tutorial, Keep Subscribed and Stay connected for more awesome Blogger Tutorials.

If you have any problem regarding this post you can drop your comment here or feel free to contact me.

    Sharing is Caring!

  • Facebook
  • Twitter
  • Google+
  • StumbleUpon
  • linkedIn
  • StumbleUpon

Rohitkumar A

Posted In blogger, how to
Subscribe Now

Get Latest Posts Directly Into You Inbox

 43 comments :

  1. Shiva Creation7 December 2013 at 21:25

    Awaysome article brother.. my problem of facebook share not showing thumnail are solved.. thanks a lot.. keep it up with this kind of informative post..

    ReplyDelete
    Replies
    1. Rohitkumar A7 December 2013 at 21:43

      Thanks Kartik bro. I'm glad that your problem is solved.
      Stay connected ;-)

      Delete
      Replies
        Reply
    2. Reply
  2. Unknown13 December 2013 at 04:50

    nice article and thanks i really very trouble so you help me thank
    www.engineeringsteam.blogspot.com

    ReplyDelete
    Replies
      Reply
  3. David Herron22 December 2013 at 18:26

    The problem with this is the Facebook Object Debugger says that the 72x72 image provided by data:blog.postImageThumbnailUrl is too small, and therefore Facebook falls back on guessing and substituting a larger image. Which, we know, it's going to screw up in doing.

    I'm searching for how to get a bigger image, and going by the comments I'm stumbling across others are looking for the same.

    ReplyDelete
    Replies
    1. Rohitkumar A26 December 2013 at 02:39

      that's right David, but it also show large images you just need to select other image while sharing your post.

      Thanks for your responce, will work on it soon. Stay connected.

      Delete
      Replies
        Reply
    2. David Herron26 December 2013 at 10:05

      Sure, if I was doing a manual post, yes. But I do automated posts to facebook using dlvr.it.

      It occurred to me that some of the templates my girlfriend use makes index pages with larger thumbnails. So maybe looking at the code of those templates would give a clue.

      Delete
      Replies
        Reply
    3. Rohitkumar A2 January 2014 at 22:23

      LOL :D
      you can also share your posts with larger thumbnails just change the thumb by selecting other image [Like we do in slider]

      Delete
      Replies
        Reply
    4. Reply
  4. tyler5 January 2014 at 00:06

    What if I make a neat graphic for each individual post on my blog and want that graphic to be the default image when my articles are linked to Facebook? How do I make sure the photo I want to be the default thumbnail will be the one that Facebook uses?

    ReplyDelete
    Replies
      Reply
  5. Unknown22 February 2014 at 20:45

    sorry i'm a complete beginner, how do i find out logo-link, app_id, fb_admins/

    thanks.

    ReplyDelete
    Replies
    1. Rohitkumar A22 February 2014 at 22:44

      logo-link : upload your logo file [.png or .jpeg] to any hosting site/drive [google drive, picasa]
      copy its direct download link,
      fb_admins : your fb page username

      Delete
      Replies
        Reply
    2. Unknown12 March 2014 at 12:17

      what about the app_id?

      Thank you!

      Delete
      Replies
        Reply
    3. Rohitkumar A30 May 2014 at 00:15

      app_id : you will need to go for Facebook API Developers, build app for your page insights, there you will find app id, I'm gonna soon write an article for it.

      Delete
      Replies
        Reply
    4. Reply
  6. PullingUp28 March 2014 at 16:00

    I didn't figure out the app_id as well, but it doesn't matter cause that f(*&^%in image I wanted to set up eventually shows up!!! Thanks a TON bro!

    ReplyDelete
    Replies
    1. Rohitkumar A30 May 2014 at 00:24

      app_id : you will need to go for Facebook API Developers, build app for your page insights, there you will find app id, I'm gonna soon write an article for it.

      Delete
      Replies
        Reply
    2. Reply
  7. Unknown4 April 2014 at 14:13

    as soon as I pasted xmlns:og='http://ogp.me/ns#' before the closing tag I got an error. (Could not load template preview: Error parsing XML, line 3, column 248: Element type "html" must be followed by either attribute specifications, ">" or "/>")

    why?

    ReplyDelete
    Replies
      Reply
  8. Unknown20 April 2014 at 02:05

    Can u do a tutorial like this for google+ It worked for my fb but not my google+. Instead of my post image showing,it keeps showing my profile picture. thanks :)

    ReplyDelete
    Replies
      Reply
  9. Shashwat28 April 2014 at 08:21

    Okay here's my problem. Everything else is fine, but no matter which page of my blog is shared, the description is always the blog description, which is, a lot of times, irrelevant to the post. I haven't added meta-descriptions on each post, there's just one meta-description for the blog. What should I be doing (adding a meta-description on each post isn't a feasible option). Not gonna spam you with links, but you can easily find my blog via my G+ profile (name of blog is Hacking With Kali Linux)

    ReplyDelete
    Replies
      Reply
  10. Unknown29 April 2014 at 00:38


    great informative blog..............properties

    ReplyDelete
    Replies
      Reply
  11. Anonymous11 May 2014 at 09:51

    My problem hasn't been solved yet. When I post to Facebook, the article preview still does not show up. Possibly because I didn't input the app id? But where do I get it from?

    ReplyDelete
    Replies
    1. Lavanya Ayren15 May 2016 at 15:12

      Same problem persists with me as well. When I share my blog on facebook. I get a blank white frame as the thumbnail. Please help.

      Delete
      Replies
        Reply
    2. Rohitkumar A13 October 2017 at 20:26

      Scrape your url through Facebook Debugger, let me know if you need more details

      Delete
      Replies
        Reply
    3. Reply
  12. Joseph19 May 2014 at 05:06

    This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Joseph19 May 2014 at 05:09

      This comment has been removed by the author.

      Delete
      Replies
        Reply
    2. Reply
  13. Unknown29 May 2014 at 17:42

    whats the app id, logo id?

    ReplyDelete
    Replies
      Reply
  14. Joseph30 May 2014 at 00:27

    Rohit,
    How can I show thumbnails on feedburner feeds like this: http://feeds.feedburner.com/shoutmeloud ?

    ReplyDelete
    Replies
    1. Rohitkumar A30 May 2014 at 01:28

      You will need to add jump breaks in blogger posts, Joseph.
      I'll write detailed article about it :)
      thanks for query.
      stay connected !

      Delete
      Replies
        Reply
    2. Reply
  15. Joseph30 May 2014 at 01:39

    Hi Rohit,
    Thanks for your reply. I've already inserted jump breaks in my blog. This is my blog: www.josephstutorialshop.blogspot.com And this are the feeds: http://feeds.feedburner.com/TutorialShop

    ReplyDelete
    Replies
    1. Rohitkumar A30 May 2014 at 02:08

      No need of jump break, I found best solution but yet can't show images, though check bloggerhero after 1 hour ;)

      Delete
      Replies
        Reply
    2. Reply
  16. Reyki Reyvalda6 July 2014 at 04:58

    Great post bro! keep it up :)

    ReplyDelete
    Replies
      Reply
  17. Unknown11 July 2014 at 14:26

    Thank you for showing me the way.

    ReplyDelete
    Replies
      Reply
  18. Unknown14 July 2014 at 20:45

    Thanks for sharing, I am trying it now will post another comment if it worked :]

    ReplyDelete
    Replies
      Reply
  19. DaRK18 August 2014 at 19:04

    Doesn't work for me. :(

    ReplyDelete
    Replies
      Reply
  20. Unknown25 August 2014 at 04:12

    Thanks for sharing this post.It was nice getting through your post and informative too.keep sharing

    ReplyDelete
    Replies
      Reply
  21. Haryono18 November 2014 at 21:00

    thanks a lot, and thanks for sharing bro... :)

    ReplyDelete
    Replies
      Reply
  22. 87608 May 2015 at 13:36

    Hi there. I have just set up a blog and when I copy and paste the link to a blog post into Facebook, the link works but at the bottom it has my blog name, and then says By Bryan Melgar. The problem is, I am not Bryan Melgar and I know nobody of that name! And I would like to have my name there as I am the one doing the writing! I have no idea where this is coming from and I have checked all the settings in Blogger. Would you be able to help please? Thank you! Natasha Richmond at 8760hrs blog.

    ReplyDelete
    Replies
    1. Unknown31 January 2016 at 07:17

      You need to set up the open-graph properly, If you use the FB debugger you can see all the errors. Bryan is probably the name of the owner of the app id you're using.

      Delete
      Replies
        Reply
    2. Reply
  23. Unknown30 June 2015 at 02:20

    Thanks, heps me a lot

    ReplyDelete
    Replies
      Reply
  24. Unknown30 July 2015 at 05:31

    Thx,
    One thing:



    will work even better (larger image).

    ReplyDelete
    Replies
      Reply
  25. Anonymous22 December 2015 at 02:41

    Thank you! :)

    ReplyDelete
    Replies
      Reply
  26. M30 December 2015 at 07:18

    very helpfull .. thanks
    www.intipyuk.com

    ReplyDelete
    Replies
      Reply
  27. svetionicar9 January 2016 at 04:30

    Nope, i do everything,step by step, app ID, FB:admins, i followed facebook debugger tool, and i still cant have title f article when i try to share. What ever i do, i get only main picture from blog,title of whole blog and blog description. I dont care for picture and description, but i would like AT LEAST to have relevant title when i try to share my blog to Facebook :( can anyone help me, please? some of posts from my blog is

    http://marepannoniumgarden.blogspot.rs/2016/01/semenke-za-sudnji-dan-4-deo-lokalni.html

    Thank you, in advance.

    ReplyDelete
    Replies
      Reply
  28. Admin1 January 2017 at 06:27

    Will blog posts get shared automatically .. ??

    ReplyDelete
    Replies
    1. Rohitkumar A13 October 2017 at 20:27

      No, you need to share them manually

      Delete
      Replies
        Reply
    2. Reply
Add comment
Load more...

Newer Post Older Post Home
Do you like my work?

Buy Me a Coffee!

Popular Posts

  • MaterialMix : A Free Material Design Blogger Template
  • How to add Custom Fonts in Blogger or Any Website
  • How to use full ISP bandwidth to speed up downloading
  • Download Materiality Blogger Template
  • Resume Lite - One Page Resume Blogger Template
  • Best Social Media Widget for Blogger | 2017
Email Newsletter

Get Latest Posts Directly Into You Inbox

Labels

Android blogger browser Buy computer css drop down menu Gadgets Google how to internet Laptops Mobile Phone phone responsive reviews SEO smartphone Social Media Social Share Widgets subscription box Template tool trick widget Wireless youtube
Powered by Blogger.

Popular Posts

  • High PR Forums That Can Bring You High Traffic
  • Sensational v2.0 Responsive Blogger Template
  • Materiality - Material Design Blogger Template
  • BloggerHero Free Premium Blogger Template
  • MaterialMix : A Free Material Design Blogger Template
  • [Fixed] Facebook Share Thumbnail Is not Showing on Blogger

Contact Form

Name

Email *

Message *

  • Home
  • About
  • Contact
  • Sitemap
  • Services
  • Request
  • Privacy Polciy

© 2013 BloggerHero.com. All Rights Reserved. Designed with Love for Everyone!