【问题标题】:Facebook Graph api unable to delete or hide comments on my facebook wallFacebook Graph api 无法删除或隐藏我的 Facebook 墙上的评论
【发布时间】:2015-12-15 21:56:23
【问题描述】:

Facebook Graph api 无法删除或隐藏我的 facebook 墙上的任何 cmets,我在 graph api explorer 上使用我的用户访问令牌进行了测试。

Api Explorer 给出错误码;

{
  "error": {
    "message": "(#200) Users can only delete their own comments published by the same app",
    "type": "OAuthException",
    "code": 200,
    "fbtrace_id": "ETKJyLTeU9x"
  }
}

如果我试图隐藏我得到这个错误;

{
  "error": {
    "message": "(#210) Updating is_hidden requires a Page access token",
    "type": "OAuthException",
    "code": 210,
    "fbtrace_id": "BZMXQFBHo9k"
  }
}

但实际上这条评论不在我自己的用户墙的页面墙上。

【问题讨论】:

  • 从错误消息中很明显,这是不可能的
  • 是的,我们可以复制并粘贴错误消息作为答案;)
  • 我为这种情况向 facebook 开了一张票,等待回复:)
  • 嗨,奥斯曼,你能在这里也链接到那个问题吗?谢谢!

标签: facebook facebook-graph-api


【解决方案1】:

检查评论的 can_hide 字段。如果是"can_hide": false,则不允许隐藏。

【讨论】:

  • 没关系,但总是 can_hide : false 用于个人墙 :)
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-01-07
  • 1970-01-01
  • 2013-04-07
  • 1970-01-01
相关资源
最近更新 更多