我可以检索域中所有对象的评论吗?
我有一个域名,里面有 36000 张照片。我想看最新的评论。我很懒得检查每一页,所以我尝试
SELECT post_fbid, fromid, object_id, text, time
FROM comment
WHERE object_id IN
(SELECT comments_fbid
FROM link_stat
WHERE url like 'http://fotograf.web.tr')
仔细查看最后一行。有点赞,fql不接受点赞。
你能帮我解决这个问题吗?
I have domain with 36 thousand photos in it. I want to see lastest comments. I'm very lazy to check every page, so I tried
SELECT post_fbid, fromid, object_id, text, time
FROM comment
WHERE object_id IN
(SELECT comments_fbid
FROM link_stat
WHERE url like 'http://fotograf.web.tr')
Take a closer look to last line. There is like, fql dont accept like.
Can you help me with this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设您已经拥有域上的页面列表,为什么不将这些页面放在查询的“IN”子句中呢?
Presumably you already have a list of pages on your domain, why not put those in an 'IN' clause in the query?