错误OAuthException“消息”:“邮箱需要read_mailbox扩展权限。 [英] error OAuthException "message": "mailbox requires the read_mailbox extended permission."

查看:111
本文介绍了错误OAuthException“消息”:“邮箱需要read_mailbox扩展权限。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试访问Facebook Graph api邮箱时出现此错误。

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."

访问令牌是有效的..但任何提示的权限和我在哪里错了..
首先,登录到Fb,它给我一个代码,然后access_token

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

感谢您的帮助。

推荐答案

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

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/

这篇关于错误OAuthException“消息”:“邮箱需要read_mailbox扩展权限。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆