我已经使用以下代码了很长一段时间来通过Facebook FQL检索我的评论+评论回复计数总数。但是,今天它刚刚停止工作,现在返回一个空数组。我想我已经追溯到这样一个事实:FB没有为给定的URL返回comments_fbid
。
select time, is_private from comment where is_private = 0 and object_id in
(select comments_fbid from link_stat where url ='MY_URL') or
is_private = 0 and object_id in (select post_fbid from comment where object_id
in (select comments_fbid from link_stat where url ='MY_URL'))
此请求通常会返回一个length
等于总评论数的对象。
非常感谢任何帮助。
答案 0 :(得分:0)
它是一个错误。 comments_fbid返回NULL,即使有关于此特定URL的注释。