Richard Stelmach

Facebook Open Graph Protocol on a Tumblr Blog

September 18th, 2011

When a post gets shared or ‘liked’ on Facebook you want it to have the best possible chance of getting noticed and more people to ‘like’ it for the viral explosion that everyone dreams of! You want the news item on Facebook to have a nice thumbnail, sadly Facebook doesn’t always pick up the right picture, so adding some meta content to the head of your tumblr theme allows you to set either your profile picture or photo post as the thumbnail.

On tumblr, it’s really simple, just customise your theme, go to the theme tab and add some custom HTML. Where you see all the tags, add the following code above or below:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
{block:Posts}
{block:Photo}
<meta property="og:image" content="{PhotoURL-500}" />   
<meta property="og:image" content="{PhotoURL-400}" />
<meta property="og:image" content="{PhotoURL-250}" />
<meta property="og:image" content="{PhotoURL-100}" />
<meta property="og:image" content="{PhotoURL-75sq}" />
<meta property="og:image" content="{PhotoURL-HighRes}" />
<meta property="og:url" content="{Permalink}" />
<meta property="og:title" content="{Title} - {Name}" />
<meta property="og:type" content="article" /> 
<meta property="og:description" content="{MetaDescription}" />
{/block:Photo}
{/block:Posts}

In this case I’ve only applied it to the photo type posts as this is the only content i’m interested in generating ‘likes’. You’ll also need to add a Facebook Like button to your posts, some themes give you this option or you add it into the code yourself.

You’ll also notice that I’ve added multiple image items, this is fine by Facebook as you’re effectively listing all the images related to that post.

To see the generated HTML in action, visit one of my posts on my tumblr site and press ctrl+U to view the source.

It is possible to add your facebook username and app ID but when testing it, it always said it had a problem with the domain, even though I had added the URL of my site in the options, if anyone knows a solution to this, please let me know!

69 Responses to Facebook Open Graph Protocol on a Tumblr Blog

  1. This domain appears to get a large ammount of visitors. How do you advertise it? It offers a nice unique twist on things. I guess having something useful or substantial to talk about is the most important factor.

    Pat Dittemore - Sunday December 4th, 2011 at 01:17
  2. Another update on this – recently someone got in touch with me having problems getting a thumbnail to appear when posting links to her video posts on Facebook. She eventually found that ‘addthis’ plugin was causing a conflict. Thanks for http://tamarasaul.tumblr.com/ for letting me know.

    Rich - Saturday May 26th, 2012 at 12:57
  3. Great listing of WEBSITE POSITIONING tools.

    seo software does it work - Thursday September 4th, 2014 at 16:20
  4. Today, while I was at work, my cousin stole my apple ipad and tested to see if
    it can survive a thirty foot drop, just so she can be a youtube
    sensation. My iPad is now broken and she has 83 views. I
    know this is totally off topic but I had to share it with someone!

    Look into my web blog … muscle tech

    muscle tech - Friday September 5th, 2014 at 05:13
  5. Najdete tady sexy partnery z Prahy, kteří toužípo tom, splnit všechna νaše prání – pokud jjim to dovolíte.
    Chatovací místnosti lzze využívat zdarma, tak ѕі tuto nabídku na dobrodružství ɑ
    free sex nebechte proklouznout mdzi prsty. Νɑ Seznamce najdete
    spoustu nadržеných sexy žen ɑ mužu, kterí se na vec dívají stejne jako
    vy.

    seznamka stesti - Saturday September 6th, 2014 at 22:44
  6. You actually make it seem so easy with your
    presentation however I to find this topic to be really something that I believe I might by
    no means understand. It kind of feels too complicated and very wide for me.
    I am looking forward in your subsequent publish,
    I’ll attempt to get the hang of it!

    Stop by my webpage diete

    diete - Sunday September 7th, 2014 at 03:38
  7. First of all I would like to say wonderful blog! I had
    a quick question which I’d like to ask if you don’t mind.
    I was curious to know how you center yourself and clear your head before writing.
    I have had difficulty clearing my thoughts in getting my thoughts out there.
    I truly do enjoy writing but it just seems like the first 10 to 15 minutes are lost just trying to figure out
    how to begin. Any ideas or tips? Cheers!

    tips how to get pregnant - Tuesday September 9th, 2014 at 12:15
  8. cheap michael kors handbags sale
    I like what you guys tend to be up too. Such clever work and coverage!

    Keep up the amazing works guys I’ve included you guys to my own blogroll.

    cheap michael kors handbags sale - Saturday September 13th, 2014 at 10:05
  9. This paragraph is in fact a fastidious one it assists new
    internet people, who are wishing in favor of blogging.

    Feel free to surf to my web site … ผ้านวมสวยๆ

    ผ้านวมสวยๆ - Saturday September 13th, 2014 at 18:35
  10. Yes! Finally someone writes about sims freeplay hack ipad cydia.

    sims freeplay how to make a baby - Monday September 15th, 2014 at 12:02
  11. It’s awesome to go to see this web page and reading the views of all
    colleagues about this post, while I am also keen of getting knowledge.

    Stop by my web site :: bridesmaid jewelry sets

    bridesmaid jewelry sets - Tuesday September 16th, 2014 at 23:54
  12. Great article.

    Look into my homepage: Athletic Greens green superfood supplement

    Athletic Greens green superfood supplement - Wednesday September 17th, 2014 at 08:23
  13. Nice post. I was checking continuously this blog and I am impressed!
    Very useful info particularly the last part :
    ) I care for such information much. I was looking for this certain information for a long time.
    Thank you and best of luck.

    Ht Rush Review - Wednesday September 17th, 2014 at 18:58
  14. Hello there, just became alert to your blog through Google, and
    found that it’s really informative. I’m gonna watch out for brussels.
    I’ll appreciate if you continue this in future.
    Numerous people will be benefited from your writing.
    Cheers!

    Sana Hemp Juice Reviews - Friday September 19th, 2014 at 02:52
  15. Hi there every one, here every person is sharing these kinds of know-how,
    thus it’s nice to read this web site, and I used to pay a
    quick visit this webpage all the time.

    Feel free to surf to my webpage: Racing Rivals Hack (mllecupcake.com)

    mllecupcake.com - Friday September 19th, 2014 at 18:49
  16. I like the valuable info you provide for your articles.

    I’ll bookmark your blog and check again right here frequently.
    I am relatively certain I will be told a lot of new stuff right right here!
    Best of luck for the next!

    facebook - Saturday September 20th, 2014 at 00:20
  17. That statement tends to make it sound like they are prepared for attainable repercussions from Sony
    (Minecraft PlayStation three and PlayStation 4 editions), Google (Minecraft: Pocket Edition for Android) or Apple (Minecraft: Pocket Edition for iOS).

    Here is my blog post: minecraft ps3 no survey (Titus)

    Titus - Saturday September 20th, 2014 at 14:53
  18. This page really has all of the information and facts I wanted about this subject and didn’t know who to ask.

    east london locksmiths - Sunday September 21st, 2014 at 11:08
  19. The standard security provided by Acrobat PDF consists of two different methods and
    two different passwords, “user password” and “owner password”.
    It’s cousin, Microsoft Works, is also not half bad. An XDP
    can also package a PDF file, along with XML form and template
    data.

    vitinhkhanhthao.com - Sunday September 21st, 2014 at 15:46
  20. This is very interesting, You’re a very skilled blogger.

    I’ve joined your rss feed and look forward to seeking more of
    your fantastic post. Also, I’ve shared your site in my
    social networks!

    e cigs brand uk - Monday September 22nd, 2014 at 09:41
  21. I drop a comment each time I especially enjoy a article on a blog or if I have something to add to the conversation. Usually it is caused by the passion displayed in the article I
    read. And on this article Facebook Open Graph Protocol on a Tumblr Blog | Richard Stelmach’s Web Design and Multimedia Portfolio.
    I was actually moved enough to post a thought
    ;-) I actually do have 2 questions for you if it’s allright.
    Is it simply me or do a few of these remarks look like they are written by brain dead people?
    :-P And, if you are posting on additional places, I’d like to keep up with
    everything new you have to post. Would you list the complete urls of all your shared sites like your linkedin profile,
    Facebook page or twitter feed?

    My Web Site - Monday September 22nd, 2014 at 14:21
  22. Asking questions are in fact good thing if you are not understanding something
    totally, but this article presents pleasant understanding even.

    fossil - Monday September 22nd, 2014 at 19:27
  23. Never before heard of a steam shower enclosure until I stumbled on this
    incredible website, so glad I did so would like one now and money letting will probably be buying one in the near future

    Look into my web blog; Luxury Steam Showers

    Luxury Steam Showers - Tuesday September 23rd, 2014 at 06:20
  24. It’s perfect time to make some plans for the future and
    it’s time to be happy. I’ve read this post and
    if I could I want to suggest you some interesting
    things or tips. Maybe you can write next articles referring to
    this article. I wish to read even more things about it!

    insurance owner - Tuesday September 23rd, 2014 at 06:42
  25. When some one searches for his necessary thing, thus he/she wants to be available that in detail,
    thus that thing is maintained over here.

    oakley occhiali da sole - Tuesday September 23rd, 2014 at 07:37
  26. I am truly delighted to glance at this web site posts which contains tons of useful facts,
    thanks for providing such data.

    how to seduce a quiet man - Tuesday September 23rd, 2014 at 13:01
  27. What’s up Dear, are you truly visiting this web site daily,
    if so after that you will definitely get pleasant knowledge.

    www.supernovasinging.com - Tuesday September 23rd, 2014 at 19:15
  28. Hiya! Quick question that’s completely off topic.
    Do you know how to make your site mobile friendly? My web site looks weird
    when viewing from my iphone 4. I’m trying to find a template or plugin that might be able to fix this issue.
    If you have any recommendations, please share. Many thanks!

    Binary Options Trading - Tuesday September 23rd, 2014 at 19:27
  29. Hello there! Would you mind if I share your blog with my facebook group?
    There’s a lot of people that I think would really appreciate your content.
    Please let me know. Thank you

    Also visit my web site – 22 Jump Street Télécharger

    22 Jump Street Télécharger - Wednesday September 24th, 2014 at 04:31
  30. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each
    time a comment is added I get several emails with the
    same comment. Is there any way you can remove me from that service?
    Bless you!

    My webpage viagra

    viagra - Thursday September 25th, 2014 at 08:04
  31. If you desire to grow your knowledge only keep visiting
    this website and be updated with the most up-to-date news posted here.

    data recovery - Friday September 26th, 2014 at 12:01
  32. I’m not that much of a online reader to be honest but your blogs really nice, keep it up!
    I’ll go ahead and bookmark your website to come back in the future.
    Many thanks

    My blog post viagra

    viagra - Saturday September 27th, 2014 at 03:21
  33. I think the admin of this site is genuinely working hard in favor
    of his web site, because here every information is quality based stuff.

    best enlargement product - Monday September 29th, 2014 at 10:45
  34. My partner and I stumbled over here from a different website and
    thought I might check things out. I like what I see so now i’m
    following you. Look forward to exploring your web page repeatedly.

    setup express - Tuesday September 30th, 2014 at 19:04
  35. Hi friends, its impressive article regarding cultureand entirely explained, keep it up all the time.

    Marsha - Tuesday September 30th, 2014 at 20:05
  36. Being proficient at administration such as writing quotes and dealing with death, they shouldn t be the primary factor green electric soltuions gforce in hiring an electrician. Electricians
    are have the ability of electrician to handle
    the new green electric soltuions gforce decorations
    youplan to put up your own company and continue to move up the career ladder.
    2 In the US voltage is 120 in Europe it is 230-240.

    gforce-electric - Thursday October 2nd, 2014 at 21:08
  37. What’s up mates, how is all, and what you want to say concerning this
    article, in my view its really remarkable in support of me.

    Feel free too surf to my blog; cheats for dragons of atlantis;
    Melina,

    Melina - Friday October 3rd, 2014 at 01:21
  38. Every weekend i used to pay a quick visit this website,
    as i wish for enjoyment, for the reason that this this site conations really good funny stuff
    too.

    Review - Saturday October 4th, 2014 at 03:46
  39. With other keys give access to applications like GPS, Bluetooth,
    and Windows Mobile and voice recorder. Let’s take a look at some of the best accessories you can use
    for your smartphone over the frigid and unwelcoming winter season.
    Nidhi Markanday, Business Head, Consumer Durables & IT Accessories,
    Intex Technologies,.

    spesifikasi andromax V3s - Sunday October 5th, 2014 at 15:23
  40. This is really interesting, You are a very skilled blogger.
    I’ve joined your feed and look forward to seeking more of your wonderful post.
    Also, I’ve shared your web site in my social networks!

    hay day cheats for ipad without surveys - Thursday October 9th, 2014 at 08:40
  41. It’s not my first time to visit this web page, i am visiting this website dailly and get
    pleasant facts from here everyday.

    Far Infrared Sauna San Diego - Thursday October 9th, 2014 at 12:32
  42. Concentrating solar energy (CSP) technologies use mirrors to
    replicate and focus sunlight onto receivers that acquire photo voltaic
    vitality and convert it to heat. This thermal energy can then be used toelectricity through a steam turbine
    or heat engine that drives a generator.

    solar power system florida - Thursday October 9th, 2014 at 19:52
  43. The island was virtually barren, until Onassis imported over
    200 kinds of trees together sand carted on the island from nearby Salamis.

    When you will be making a juice from dark, leafy greens, try including a little cucumber.
    So, the web site walks a very thin tightrope, legally speaking.

    PirateBay Gedeblokkeerd - Monday October 13th, 2014 at 05:40
  44. Useful information. Lucky me I discovered your site unintentionally, and I am surprised why this
    accident didn’t took place in advance! I bookmarked it.

    troy es como lavar tenis nike - Thursday October 23rd, 2014 at 11:29
  45. Thanks for the marvelous posting! I really enjoyed reading it, you’re a great author.
    I will always bookmark your blog and will often come
    back later in life. I want to encourage you to definitely continue your great job, have a nice day!

    webdesign - Friday October 24th, 2014 at 07:31
  46. Thank you for every other informative site. Where else may
    just I am getting that kind of info written in such a perfect manner?
    I’ve a undertaking that I am just now running on, and I’ve been at the glance out for such information.

    alanya kiralık araba - Wednesday November 5th, 2014 at 08:53
  47. Hi, after reading this amazing paragraph i am too cheerful to share my familiarity here with
    colleagues.

    dang tin rao vat bao tuoi tre - Sunday November 16th, 2014 at 09:15
  48. It’s genuinely very complicated in this busy life to listen news on TV, therefore I simply use the web for that purpose, and get the newest news.

    Robt - Sunday December 28th, 2014 at 01:35
  49. I think the admin of this web site is genuinely working hard for his web site, since here every stuff is quality based
    data.

    Feel free to surf tto my web blog … London Keyes
    Profile (Verona)

    Verona - Wednesday January 7th, 2015 at 07:42
  50. Mainly, they help traders to acknowledge the trades that allow
    making profits in the binary options market. It is invariably a crucial query that naturally
    pops up in the mindset of those who are making a conscious
    as well as all out endeavors to associate them with
    this challenging arena. Enjoy your web training on options and investments.
    Just place a Put option towards the trend reversion. The world in which we live
    is structured around the choice of what type of bread to buy through their political views.

    Binary options are the type that I like the best so I
    will discuss those today.

    Esther - Wednesday January 21st, 2015 at 07:01
  51. Howdy! This article couldn’t be written much better!
    Looking at this post reminds me of my previous
    roommate! He always kept preaching about this.
    I am going to forward this post to him. Pretty sure he’s going to have a
    great read. Many thanks for sharing!

    Humour - Thursday February 5th, 2015 at 13:23
  52. Autre point remarquable de la stratégie médias sociaux de Starbucks :
    l’implication volontariste dans plusieurs réseaux sociaux.

    les media sociaux - Sunday February 8th, 2015 at 01:27
  53. El verano de dos mil catorce ha sido asimismo el mejor de la década en cuanto a turismo internacional.

    web page - Sunday February 8th, 2015 at 08:04
  54. Awesome things here. I’m very happy to peer your article.

    Tanks so much and I am having a look ahead to touch you.
    Will you kindly drop me a mail?

    Here iis my web-site; Handydealz

    Handydealz - Sunday February 8th, 2015 at 12:20
  55. Advancement in technology has resulted in the emergence of many latest products
    in the market. There are other advantages to online shopping that can help you to reduce your
    carbon footprint. Here is a list of essentials that you need to keep in mind to have your e-commerce site
    running.

    shopping - Sunday February 8th, 2015 at 18:56
  56. working summoners war hack

    summoners war hack v1.3.1 - Monday February 9th, 2015 at 08:31
  57. A blanket clip removes all the hair on the neck and flanks, but leaves a blanket-shaped area over the back and hindquarters.

    You can get a game that is similar to new, without the brand-new cost tag.
    If you choose to let your horse’s coat grow, whether or not
    he requires extra blankets will depend upon your horse. In the preview clip, Del
    Rey and Ross are dressed in leaves like Adam and Eve from the Bible.

    clip - Monday February 9th, 2015 at 13:55
  58. Hi to every body, it’s my first go to see of this website; this website consists
    of awesome and truly fine stuff for visitors.

    my web-site refuel extreme

    refuel extreme - Saturday February 14th, 2015 at 05:02
  59. The film was released on May 20, 1998, by Tri – Star Pictures.

    As you already know, everybody loves receiving rewards.
    These lines are also written in a wavy fashion, without distinct shape.

    My site Monster Strike Hack

    Monster Strike Hack - Saturday February 14th, 2015 at 13:10
  60. Offsite SEO, constituting – you guessed it – around 70%
    of your search ranking, involves many external factors concerning your site, some of which
    you have control over, most of which you don’t.

    Through search engine optimization companies all over the world are able to
    effectively expose their brand to people from all walks of life, which results in increased profits.
    Rigorous and continuous process of SEO for quite a good period of time will help you site to perform better in Google search results.

    seo - Monday February 16th, 2015 at 15:28
  61. If you would like to grow your experience only keep visiting this web site and
    be updated with the most up-to-date news posted here.

    sbo222 - Tuesday February 24th, 2015 at 10:25
  62. Buy Plastic Trays

    Plastic Packaging - Thursday February 26th, 2015 at 06:55
  63. Authors are certainly not obliged to spend a registration fee,
    nor could they be obliged to pay for for any otherr use of the
    site. That is the reason why you should alpways try to patronize wholesale adult toys sold across
    the market. Now, if your partner struggles to provide you with the kind of satisfaction that you would like, yoou can bring out a
    seex that may help you in satisfying your partner.

    lube - Wednesday March 4th, 2015 at 10:00
  64. Yes! Finally something about tips.

    Vanita - Wednesday March 4th, 2015 at 16:05
  65. Hi there to every body, it’s my first go to see of
    this webpage; this website includes awesome and genuinely fine stuff in support of readers.

    Xength - Monday March 9th, 2015 at 01:50
  66. There are more than a thousand different online casinos on the internet, but not all of them are up to
    the mark. Similarly, for casinos to win, the people must lose and lose consistently.
    In 2002 and 2003, he even won the strolling Olympics award for
    3 consecutive times awarded by the Academy of Magical Arts.

    texas holdem ilmainen - Monday March 9th, 2015 at 23:05
  67. great points altogether, you just won a brand new reader.
    What might you suggest about your submit that you just made some days in the past?
    Any sure?

    frutal mg - Saturday March 14th, 2015 at 17:25
  68. Hola! I’ve been following your weblog for a
    while now and finally got the bravery to go ahead and give you a shout out from Huffman Tx!
    Just wanted to mention keep up the good job!

    beste matratze - Thursday March 19th, 2015 at 21:09
  69. Aw, this was a very nice post. Finding the time and actual effort to create a
    really good article… but what can I say… I hesitate a
    lot and don’t seem to get anything done.

    ask - Saturday March 21st, 2015 at 16:19

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>