图 API 错误 #200 即使具有正确的权限
Graph API error #200 even with correct permissions
我正在设置一个机器人以在 Facebook 页面上自动 post。但是当我 运行 脚本时,图形 API 抛出以下错误:
Graph returned an error: (#200) Requires either publish_to_groups permission and app being installed in the group, or manage_pages and publish_pages as an admin with sufficient administrative permission
但是在应用程序的权限中,manage_pages
和 publish_pages
都被标记为允许,并且用户(也是页面的所有者)被设置为应用程序管理员。
我知道这是(或者,至少,是)一个已知问题,但我没有找到任何答案。
有没有办法solve/work绕过它?
- 确保您实际授予用户这些权限,在调试器中调试令牌:https://developers.facebook.com/tools/debug/accesstoken/
- 使用该页面的页面令牌,而不是用户令牌:
我正在设置一个机器人以在 Facebook 页面上自动 post。但是当我 运行 脚本时,图形 API 抛出以下错误:
Graph returned an error: (#200) Requires either publish_to_groups permission and app being installed in the group, or manage_pages and publish_pages as an admin with sufficient administrative permission
但是在应用程序的权限中,manage_pages
和 publish_pages
都被标记为允许,并且用户(也是页面的所有者)被设置为应用程序管理员。
我知道这是(或者,至少,是)一个已知问题,但我没有找到任何答案。
有没有办法solve/work绕过它?
- 确保您实际授予用户这些权限,在调试器中调试令牌:https://developers.facebook.com/tools/debug/accesstoken/
- 使用该页面的页面令牌,而不是用户令牌: