1

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

  • OG:站点名称
  • og:类型(文章)
  • OG:描述
  • OG:网址
  • OG:标题
  • OG:图像
  • FB:app_id

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

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

原点赞数: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”,“分享”:60

应该是:586 个赞

如果您仔细查看 URL,您会注意到 URL 的写法不同。一个是 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" />
4

0 回答 0