On our website we have a Facebook "Like it" button, which works fine, but if someone "likes" us, Facebook shows an ugly picture.

As we want Facebook to link to the same content on every page, also on pages which are not driven by a node but by a view, this makes Drupal node based meta tags and open graph useless, is it?

How can we tell Facebook what to show about our website?


Check out this page for more information about this: http://developers.facebook.com/docs/opengraph/


You can also look into the Open Graph meta tags module which allows you to specify which fields Facebook looks at when constructing its likes.

  • This adds open graph meta tags based on node contents. We need a solution which adds the very same tags on every page. Especially on views generated pages. – BetaRide Dec 9 '11 at 16:26
  • sounds like you are on the right track below then by modifying your page.tpl.php to just have static meta tags in the top of each page... – Jimajamma Dec 9 '11 at 18:51

Following Lance's suggestion we tried to add the og meta tags. Unfortunately it looks like facebook is not looking at them. Any ideas?

<html xmlns="http://www.w3.org/1999/xhtml"

    <meta property="og:title" content="Adventskalender.be | P&uuml;lss Production GmbH"/>
    <meta property="og:url" content="http://www.adventskalender.be"/>
    <meta property="og:image" content="http://www.adventskalender.be/pp_logo.png"/>

    <meta property="og:site_name" content="Adventskalender.be"/>
    <meta property="fb:admins" content="105102305182"/>
    <meta property="og:description"
        content="&Ouml;ffnen Sie ihr Fenster und gewinnen ein iPad 2."/>


  • 1
    Just like drupal and its cache, facebook has one as well and only looks at your pages again for changes once a day or something, so, give it time, and if after a day or so, then begin to worry :) – Jimajamma Dec 9 '11 at 18:50
  • 2
    Testing with developers.facebook.com/tools/debug will nuke the cache on the FB side. – mpdonadio Dec 9 '11 at 20:34
  • Thanks a lot. I clicked on "like it" a day later and everything was working as expected! – BetaRide Dec 11 '11 at 15:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.