错误 OAuthException“消息”:“邮箱需要 read_mailbox 扩展权限。”

发布于 2024-11-03 05:09:01 字数 355 浏览 2 评论 0原文

我在尝试访问 Facebook Graph api 邮箱时收到此错误

https://graph.facebook.com/me/inbox?access_token=<access_token> 


"error": {
      "type": "OAuthException",
      "message": "mailbox requires the read_mailbox extended permission."

访问令牌是有效的..但是有关权限的任何提示以及我出错的地方.. 首先,登录 Facebook 时,它给我一个代码,然后是 access_token

感谢您的帮助。

I am getting this error while trying to access Facebook Graph api mailbox

https://graph.facebook.com/me/inbox?access_token=<access_token> 


"error": {
      "type": "OAuthException",
      "message": "mailbox requires the read_mailbox extended permission."

The access token is valid.. But any hints on the permissions and where I am going wrong..
First, on logging in to Fb, it gives me a code and then access_token

Thanks for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

半衾梦 2024-11-10 05:09:01

这已经过时了,在最新版本(当前版本 2.6)中,您无法访问私人消息。

This is outdated, with the latest release(current version 2.6), you can't access private messages.

孤独难免 2024-11-10 05:09:01

您需要授予您的应用程序 read_mailbox 权限。

https://developers.facebook.com/docs/authentication/permissions/

有关信息如何操作可以在这里找到:

https://developers.facebook.com/docs/authentication/< /a>

You need to grant your application the read_mailbox permission.

https://developers.facebook.com/docs/authentication/permissions/

Information on how you do that can be found here:

https://developers.facebook.com/docs/authentication/

<逆流佳人身旁 2024-11-10 05:09:01

目前,未经应用程序授权无法使用 Instagram API。教授如何通过图形 api 生成的令牌来使用它的教程不起作用。对于申请,您首先需要发送您公司的一些文件,等待验证,然后发送高级资源请求

At this time it is not possible to use the instagram API without an application authorization. The tutorials that teach how to use it through a token generated by the graph api do not work. For the application, you will first need to send some documents from your company, wait for validation, and then send advanced resource requests

清欢 2024-11-10 05:09:01

您好,希望您一切顺利,

由于 read_mailbox 已被弃用并删除,Facebook Graph Api 仍然返回有关它的错误。

Instagram 消息传递文档

如果您尝试获取某个页面的所有消息或 Instagram 帐户,您来对地方了!

Hello here hope you are doing well,

Since the read_mailbox has been deprecated and removed, the Facebook Graph Api still return errors about it.

Instagram Messaging Documentation

If you try to get all messages for a page or an instagram account you are at the right place !! ????

For this topic i found a solution according to video of Get started with the Messenger API for Instagram

So i've got the same error and i found out how to fix this,

Basically the error is caused because you are trying to generate a "User Token" instead of a "Page Access Token"

First solution:

You have to use a "Page Access Token" from the drop down instead of "User token".

Second solution:

(Or for the one that couldn't get the "Page Access Token" from the drop down you must add business_management to your permissions to let the dropdown be choosed.)

Step 1: Add business_management to the permissions

Step 2: Click on the dropdown and select "Page Access Token"

Step 3: Generate Access Token

And it work !

I hope it will help ! :D

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文