facebook - 在没有 FQL 的情况下获取文章喜欢、分享和评论
facebook - Get article likes, shares and comments without FQL
是否可以在不使用 FQL 的情况下获得文章(或其他开放图形对象)的点赞、分享和评论计数?
我知道 API v2.1 引入了 URL 节点,其中包含两个字段 'share_count' 和 'comment_count'。但是这些值与您通过 FQL 获得的值不同。
- 'share_count' 似乎是点赞、评论和分享的总和。
- 'comment_count' 似乎是一个完全不同的值,可能是通过评论框插件发布的评论。
要进行比较,请参阅以下链接。 (出于某种原因,我无法在 Graph API Explorer 中进行 FQL 查询。)
既然APIv2.0终将过期,我宁愿不要基于这个版本开发应用。但现在,我看不到任何获得文章点赞、评论和分享指标的方法。我想检索这些指标,因为它们比新的 'share_count' 值更详细。
有什么想法吗?
目前在 v2.0 上使用 link_stat FQL 是获得您正在寻找的向下钻取的唯一选择
https://developers.facebook.com/docs/reference/fql/link_stat
SELECT like_count, comment_count, share_count,total_count FROM link_stat WHERE url = 'google.com';
"data": [
{
"like_count": 3385562,
"comment_count": 2034401,
"share_count": 7514540,
"total_count": 12934503
}]
无法通过 url 或互动 https://developers.facebook.com/docs/graph-api/reference/v2.4/url https://developers.facebook.com/docs/graph-api/reference/v2.4/engagement
获得该细分
也许到 FQL 被弃用时,可能会有更多端点可以为您提供数据。
是否可以在不使用 FQL 的情况下获得文章(或其他开放图形对象)的点赞、分享和评论计数?
我知道 API v2.1 引入了 URL 节点,其中包含两个字段 'share_count' 和 'comment_count'。但是这些值与您通过 FQL 获得的值不同。
- 'share_count' 似乎是点赞、评论和分享的总和。
- 'comment_count' 似乎是一个完全不同的值,可能是通过评论框插件发布的评论。
要进行比较,请参阅以下链接。 (出于某种原因,我无法在 Graph API Explorer 中进行 FQL 查询。)
既然APIv2.0终将过期,我宁愿不要基于这个版本开发应用。但现在,我看不到任何获得文章点赞、评论和分享指标的方法。我想检索这些指标,因为它们比新的 'share_count' 值更详细。
有什么想法吗?
目前在 v2.0 上使用 link_stat FQL 是获得您正在寻找的向下钻取的唯一选择
https://developers.facebook.com/docs/reference/fql/link_stat
SELECT like_count, comment_count, share_count,total_count FROM link_stat WHERE url = 'google.com';
"data": [
{
"like_count": 3385562,
"comment_count": 2034401,
"share_count": 7514540,
"total_count": 12934503
}]
无法通过 url 或互动 https://developers.facebook.com/docs/graph-api/reference/v2.4/url https://developers.facebook.com/docs/graph-api/reference/v2.4/engagement
获得该细分也许到 FQL 被弃用时,可能会有更多端点可以为您提供数据。