脸书扩展权限 [英] facebook extended permission

查看:23
本文介绍了脸书扩展权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在developers.facebook.com 中创建了一个示例测试应用程序来访问我的Web 应用程序中facebook 帐户的通知.当我尝试通过导航到这个 url 来获取 accesstoken

i have created a sample test app in developers.facebook.com to access notifications for a facebook account in my WebApplication. When i try to get the accesstoken by navigating to this url

https://graph.facebook.com/oauth/authorize?client_id="+clientId+"&redirect_uri="+redirectURI+"&scope=manage_notifications

我第一次从我的 facebook 帐户获得 oauth 对话框,在那里我使用我的 facebook 登录名和密码登录.然后会出现一个弹出窗口,告诉我该应用程序需要访问您的基本个人资料详细信息.然后,当我单击确定时,我又收到一个弹出窗口,要求我为此应用授权 manage_notifications.当我点击确定时,我被重定向到我的 Web 应用程序主页,在那里我可以看到我帐户的所有通知列表.

from my facebook account for the first time i get oauth dialog where in i login with my facebook login-id and password. Then a popup appears telling me that the app requires access to your basic profile details. Then when i click ok i get one more popup asking me to authorize manage_notifications for this app. When i click ok i am redirected to my web application homepage where i can see list of all notifications for my account.

现在,当我尝试导航到上面的 url 和 oauth 对话框时,如果我使用另一个 Facebook 帐户登录,我只会看到一个弹出窗口,提示该应用需要访问我的基本个人资料详细信息,而不是请求 manage_notifications 的弹出窗口.当我点击确定时,我被重定向到我的 webapp 主页.我收到一条错误消息,说我没有扩展权限 - manage_notifications"

Now when i try to navigate to the above url and at the oauth dialog, if i login with another Facebook Account i get only a popup saying that the app requires access to my basic profile details but not the popup requesting manage_notifications. And when i click ok i am redirected to my webapp homepage. And i get an error message saying i dont have extended permissions - "manage_notifications"

我如何在我的网络应用程序中访问任何用户的通知.

How do i access notifications for any user in my web application.

推荐答案

  • public_profile
  • 用户好友
  • 电子邮件

要求 Facebook 审核您的应用,然后才能公开使用它们.请参阅 https://developers.facebook.com/docs/apps/review/login#do-you-need-review

require a review of your app by Facebook before you can use them publically. See https://developers.facebook.com/docs/apps/review/login#do-you-need-review

这篇关于脸书扩展权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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