【问题标题】:Why Facebook Graph does not allow me to delete a post?为什么 Facebook Graph 不允许我删除帖子?
【发布时间】:2013-12-21 00:51:43
【问题描述】:

我有一个包含以下详细信息的页面访问令牌:

  • 永不过期
  • 有效真
  • 源网站
  • 范围 create_note、export_stream、manage_pages、photo_upload、publish_actions、publish_stream、read_mailbox、read_stream、share_item、status_update、user_friends、video_upload

不过,当我尝试从页面中删除帖子时,我得到了访问令牌,我得到了以下响应:

{"error": {
  "message": "(#200) User does not have sufficient administrative permission for this action on this page",
  "type": "OAuthException",
  "code": 200 
  }
}

页面的访问令牌是使用此调用GET /{user-id}/accounts 获得的。不得不提的是,具有相同权限的用户访问令牌也不起作用。

我错过了什么?

谢谢! 彼得都铎

【问题讨论】:

    标签: facebook facebook-graph-api facebook-access-token


    【解决方案1】:

    您从 facebook 本身得到的回复表明,有权访问您尝试 DELETE 帖子的页面的用户没有这样做的正确权限。

    这是因为您的帐户/用户没有授予从页​​面中删除帖子的权限的角色。该帐户必须担任以下角色之一 - ModeratorAdvertiserInsights Analyst。只有ManagerContent Creator 有权从页面中删除帖子。

    因此,您应该获得这些角色之一(管理员可以为您更改角色)或从经理/内容创建者的帐户验证应用程序。

    更多详情,你可以查看他们的官方帮助部分-What are the different kinds of Page admins and what can they do?

    希望有帮助!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-12-05
      • 1970-01-01
      • 1970-01-01
      • 2012-09-11
      • 2011-07-04
      • 1970-01-01
      • 2018-05-04
      • 1970-01-01
      相关资源
      最近更新 更多