有没有一种简单的方法可以从facebook图形API中获取页面上的赞数。我现在的Aproach是获取页面的提要,然后为每个单独的帖子获得大量的赞。
所以首先我把所有的帖子
--This make this a ton of times as I can only retrive 100 at a time
/{page-id}/feed
然后使用每个帖子ID
--Make this request even more times
/{object-id}/likes?summary=true
但是这是非常不合理的,每一页都要花很多钱。所以基本上问题是,我能得到更少的信息要求吗?
发布于 2015-11-26 00:42:59
这对我来说很管用:
/{page-id}/posts?fields=message,likes.limit(1).summary(true)
https://stackoverflow.com/questions/33930838
复制相似问题