Implemented Open Graph Protocol for Facebook Like buttons and works on entire site except for one page, why?

StackOverflow https://stackoverflow.com/questions/5067012

Question

I have implemented Facebook Open Graph Protocol Full Integration following the http://developers.facebook.com/docs/opengraph/ and http://www.websitedesign411.com/blog/facebook-open-graph-protocol-full-integration-walkthrough.

The Like buttons work and show in the Facebook feeds except for one page www.giantmango.com/contest. I have tried several alternatives like manually entering the content for the meta tags and an else statement for pages, but I am unable to get Facebook to recognize this page. Any ideas?

<?php } elseif (is_page()) { ?>
        <meta property="og:title" content="「I LIKE CREATORS」 アートチャリティー&コンテストへようこそ!" />
        <meta property="og:type" content="article" />
        <meta property="og:description" content="「I LIKE CREATORS」 アートチャリティー&コンテストへようこそ! 売上の一部は児童養護施設に寄付いたします。2011年2月21日(月)から2月28日(月)好きな作品に投票をして、抽選で10名様にアメリカ生まれのナチュラルケアブランド「バーツビーズ」の福袋またはハンドサルヴが当たります。" />
Était-ce utile?

La solution

As mentioned in the comments of this answer, it's a caching problem and quoting from Facebook (Editing Meta Tags):

For the changes to be reflected on Facebook, you must force your page to be scraped. The page is scraped when an admin for the page clicks the Like button or when the URL is entered into the Facebook URL Linter.

So basically when I tested your page in the URL Linter, Facebook grabbed (scraped) the current data for the open graph meta tags.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top