由于网址大写,我网页的总喜欢显示不正确

时间:2012-07-16 21:25:30

标签: facebook-graph-api facebook-like

在意识到我的网站不包含og标签并且我错过了一些关键的统计信息后,我很快就在每篇文章中添加了以下标签:

  • og:site_name
  • og:type(article)
  • OG:描述
  • OG:URL
  • OG:标题
  • OG:图像
  • FB:APP_ID

我还实现了最新的喜欢按钮(比如+在发布到fb之前添加描述的能力)。我正在使用按钮的iframe版本。

示例网址:http://www.rocksquare.com/Community/FeaturedArtists/692

原始LIKE计数:526

http://graph.facebook.com/http://www.rocksquare.com/Community/FeaturedArtists/692

“id”:“http://www.rocksquare.com/Community/FeaturedArtists/692”,“shares”:526

当前LIKE计数:60(从7/13到现在)

http://graph.facebook.com/http://www.RockSquare.com/Community/FeaturedArtists/692

“id”:“http://www.RockSquare.com/Community/FeaturedArtists/692”,“shares”:60

应该是:586喜欢

如果仔细查看网址,您会注意到网址的编写方式不同。一个是RockSquare.com&另一个是rocksquare.com。出于某种原因,facebook图可以区分并创建了两个实体。一个有562个股票,一个有60个股票。无论如何我们可以合并这两个吗?

当前og信息

<meta property="og:type" content="article"></meta>    

<meta property="og:url" content="http://www.RockSquare.com/Community/FeaturedArtists/692"></meta>

<meta property="og:title" content="Marillion: Inside the making of “Sounds That Can’t Be Made”"></meta>

<meta property="og:description" content="When a band names its new album Sounds that Can’t Be Made, you’d be forgiven for wondering what on earth it sounds like—or if it sounds like anything on Earth."></meta>

<meta property="og:image" content="http://secure.rocksquare.com/RockSquareResources/CommunityArticleFiles/cmart_img_660x305_ddd3a82a-f7df-41d9-9d54-358d065ca6b5.png"></meta>

<meta property="fb:app_id" content="268121463293096" />

0 个答案:

没有答案