通过应用程序ID使用FQL检索所有注释 [英] Retrieve all comments with FQL by application ID

查看:178
本文介绍了通过应用程序ID使用FQL检索所有注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



为了缓解这些问题,我们使用这个工具: https://developers.facebook.com/tools/comments



然而,我们想要建立自己的工具来调节这些评论,并将其集成到我们现有的软件中。



我找不到正确的方法。这个FQL查询的唯一方法是这个FQL查询:

  select post_fbid,fromid,object_id,text,time from comment where object_id in(select comments_fbid from link_stat where url ='URL_HERE')

那不工作,因为我们有成千上万的不同的URL,我不能每次查询每一个,看看是否有任何新的评论。



我需要一种方式来获得所有)注释只需输入我们的app_id,域名或类似的东西



我该怎么做?

解决方案

我正在考虑做同样的事情 - 抓住我的应用程序的所有用户信息。我假设这是一个类似的任务。



对于给定的用户,我将滚动浏览Feed并在家中寻找应用程序的帖子。对于你,你会去:

 `home?fields = comments` 
`feed?fields = comments

并检查type和id以匹配您的应用程序。


We use the facebook comment plugin to have comments on our site.

To moderate those, we use this tool: https://developers.facebook.com/tools/comments

However, we want to build our own tool to moderate those comments, and integrate it to our existing software.

I can't find a proper way of doing this. the only way I found out now after hours of research is this FQL query:

select post_fbid, fromid, object_id, text, time from comment where object_id in (select comments_fbid from link_stat where url ='URL_HERE')

That doesn't work because we have thousands of different URL's and I cant query each of them every time to see if there are any new comments.

I need a way to get all (new) comments by just enter our app_id, domain or something like that

How can I do this?

解决方案

I'm considering doing the same thing- grabbing all user posts for my application. I'm assuming it's a similar task.

For given user, I will scroll through feed and home looking for app posts. For you, you'd go:

`home?fields=comments`
`feed?fields=comments`

And check for "type" and "id" to match your application.

这篇关于通过应用程序ID使用FQL检索所有注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆