FQL喜欢,分享,评论计数的准确性

时间:2014-03-03 16:41:05

标签: facebook facebook-graph-api facebook-fql

通常情况下,给定网址的fql编号,分享,评论,总计数似乎都已关闭。

例如此网址

http://www.france24.com/en/20140112-reporters-crimean-tatars-unending-exile-identity-ethnic-minority-muslims-central-asia-ukraine

FQL显示:

share_count: 18377
like_count: 16215
comment_count: 8840
total_count: 43432

图表api显示了非常不同的数字,如果您在网址上检查Facebook小部件计数,则它具有完全不同的数量。

任何人都知道发生了什么以及如何获得准确的数字。

3 个答案:

答案 0 :(得分:2)

使用您提供的网址查询link_stat时,我们会看到以下内容:

select comment_count, like_count, share_count, total_count 
  from link_stat where url = 'http://www.france24.com/en/20140112-reporters-crimean-tatars-unending-exile-identity-ethnic-minority-muslims-central-asia-ukraine/'
{
  "data": [
    {
      "comment_count": 10, 
      "like_count": 55, 
      "share_count": 18, 
      "total_count": 83
    }
  ]
}

但是当使用网站france24.com的父网址查询link_stat时,我们会看到您的数字(当然稍微改变了,但几乎相同)。所以检查你的查询 - 也许你在请求中以某种方式切断了网址?

select comment_count, like_count, share_count, total_count 
  from link_stat where url = 'http://www.france24.com/'
{
  "data": [
    {
      "comment_count": 8840, 
      "like_count": 16415, 
      "share_count": 18377, 
      "total_count": 43632
    }
  ]
}

答案 1 :(得分:0)

也许我最初的问题不明确,问题是同一个网址的两种形式在fql,web facebook widget等中返回截然不同的结果。问题的网址是

http://www.france24.com/en/20140112-reporters-crimean-tatars-unending-exile-identity-ethnic-minority-muslims-central-asia-ukraine

http://www.france24.com/en/20140112-reporters-crimean-tatars-unending-exile-identity-ethnic-minority-muslims-central-asia-ukraine/

除结尾/

外,网址相同

答案 2 :(得分:0)

facebook将url视为字符串。区分大小写,重要的是如何将其传递给url。因此,对于Facebook,实际上有两个不同的网址:/如果有人用“U”写乌克兰,也会发生同样的情况。

http://www.france24.com/en/20140112-reporters-crimean-tatars-unending-exile-identity-ethnic-minority-muslims-central-asia-Ukraine