facebook图表api不是返回所有评论 [英] facebook graph api returns not all the comments

查看:95
本文介绍了facebook图表api不是返回所有评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天遇到了Facebook Graph API的问题。
我只是试图从特定的帖子中获取所有评论: https:// www。 facebook.com/IGABerlin2017/posts/396682000447623

I stumbled upon a problem with the Facebook Graph API today. I simply tried to get all the comments from a specific post: https://www.facebook.com/IGABerlin2017/posts/396682000447623

但是,Graph API Explorer只返回一个注释:
/ 167505403365285_396682000447623 /评论

But the Graph API Explorer returns only one comment: /167505403365285_396682000447623/comments

这是个隐私问题吗?有没有办法让用户将他或她的意见设置为公共API调用不可见?

Is this a privacy issue? Is there any way for a user to set his or her comments invisible for public API calls?

我甚至在生成时可以使用所有可用权限访问令牌...好,没有成功。这是一个公共页面(和发布),不应该有权限的问题...

I even requested all the available permissions when generating the access token... well, without success. This is a public page (and post) and there shouldn't be any problems with permissions...

感谢您提前提供任何帮助。

Thanks for any help in advance.

推荐答案

这不是一个Facebook API错误。主要原因是因为您甚至无法访问 https://graph.facebook.com/wauwaumax'获得基本的个人资料信息,您会收到错误消息:

It's not a facebook API bug. The main cause is because you can't even access 'https://graph.facebook.com/wauwaumax' to get basic profile info, you would get error message instead:


{error:{
message :
type:GraphMethodException,
code:100}}

{ "error": { "message": "Unsupported get request.", "type": "GraphMethodException", "code": 100 } }

用户可以通过应用设置关闭平台。

It's possible when user turn the platform off on app settings.

关闭之前:

关闭后:

任何第三方应用程序(包括Graph API Explorer)在用户关闭后将无法再通过任何API调用访问用户数据。

Any third party apps including Graph API explorer would no longer able to access user data via any API call after user turn it off.

这篇关于facebook图表api不是返回所有评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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