Facebook 洞察domain_widget_likes ->生命周期不返回结果?
我正在执行一个查询来获取某个域的总点赞数,我正在使用以下内容:
https://api.facebook.com/method/fql.query?query=SELECT metric, value FROM insights WHERE object_id=xxxxxxxxx AND metric='domain_widget_likes' AND end_time=end_time_date('2011-08-27') AND period=period('lifetime')&access_token=xxxxxxxxx
我已经声明了我的域,拥有我的域的对象 ID,并安装了一个应用程序来获取见解并发送令牌。
但什么也不返回,如果我尝试使用 period('day') 查询工作正常,但我不仅需要每天都喜欢。
有人知道这是洞察数据的新规则还是错误?
多谢。
I'm doing a query to get the total likes for a domain and I am using the following:
https://api.facebook.com/method/fql.query?query=SELECT metric, value FROM insights WHERE object_id=xxxxxxxxx AND metric='domain_widget_likes' AND end_time=end_time_date('2011-08-27') AND period=period('lifetime')&access_token=xxxxxxxxx
I already claimed my domain, have the object id for my domain and installed an app to get access to insights and send the token.
But return nothing, if I try with period('day') the query works fine but I need all likes not only daily.
Anyone knows if it is a new rule on the insights data or is a bug?
Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否可以在查询中使用通配符
%
(period LIKE period('%')
):字符串比较函数参考有关于查询通配符等的更多信息。
Are you able to use a wildcard
%
in the query like so (period LIKE period('%')
):String Comparison Functions Reference has more info on query wildcards, etc.