Moderate/Hide a Facebook Comment using Graph API?

送分小仙女□ 提交于 2019-12-04 18:02:55

By now it is possible to hide facebook comments. The can_hide field will show you if you (e.g. the user/page associated with the given access token) is allowed to hide the comment. is_hidden, well, that one is pretty self-explanatory.

So first, use a GET request to see if the comment is already hidden, and if you can hide it:

[comment_id]?fields=is_hidden,can_hide

If allowed and necessary, you can use a POSTrequest with is_hidden=true to actually hide it.

Read the docs for more information.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!