简体   繁体   English

Facebook Graph API评论提到了thorws OAuthException

[英]Facebook Graph API commenting on mentions thorws OAuthException

I'm using /user/mentions edge to create comment on Instagram post my Instagram Business User was mentioned, like this: POST: user_id/mentions?media_id=media_id&message=some_message . 我正在使用/ user / mentions edge在Instagram上创建评论帖子我的Instagram业务用户被提到,如: POST:user_id / mentions?media_id = media_id&message = some_message

The documentation https://developers.facebook.com/docs/instagram-api/reference/user/mentions says that I need instagram_basic, instagram_manage_comments and one of manage_pages, ads_management, business_management permissions. 文档https://developers.facebook.com/docs/instagram-api/reference/user/mentions说我需要instagram_basic,instagram_manage_comments以及manage_pages,ads_management,business_management权限之一。

I have following permissions: instagram_basic, instagram_manage_comments and manage_pages, but still getting "(#10) Application does not have permission for this action". 我有以下权限:instagram_basic,instagram_manage_comments和manage_pages,但仍然获得“(#10)应用程序没有此操作的权限”。

Do I still need all permissions or something is wrong with my request? 我仍然需要所有权限或我的请求有什么问题吗?

What you are doing right now is a POST request, but you send the parameters in the URL. 您现在正在做的是POST请求,但您在URL中发送参数。 Click on "Add a Field" to add POST variables instead. 单击“添加字段”以添加POST变量。

If that does not solve it, then i assume it´sa review thing. 如果这不能解决它,那么我认为这是审查的事情。 The error message usually means that you need to get whitelisted, or reviewed. 错误消息通常意味着您需要列入白名单或已审核。

Also, try adding the following permissions: ads_management, manage_pages, business_management . 另外,请尝试添加以下权限: ads_management, manage_pages, business_management And if you want to reply to a comment that includes the mention tag, you need to add the comment_id to. 如果您想回复包含提及标记的评论,则需要将comment_id添加到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM