获取应用程序所需的权限
我想要做的是获取用户添加应用程序时应用程序将要求的权限列表。 FQL 说我需要一个应用程序访问令牌(当然需要应用程序密钥)。我一定做错了什么......我觉得这不正常,只有应用程序的开发人员才能使用图表来读取应用程序所需的权限。有人见过类似的东西吗?
What I am trying to do is get a list of permissions that an application will ask for when a user adds it. FQL says I need an app access token (which of course requires the application secret). I must be doing something wrong...I don't find it normal than only the developer of an application would be able to use the Graph to read the permissions the app requires. Has anyone seen something similar?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您请求的权限取决于在该特定点调用登录的脚本,因此在许多地方可能会有所不同。应用程序中的一个位置可能只需要基本权限,而另一位置可能需要基本权限和电子邮件权限。因此,您无法为应用程序获得一刀切的答案,因为它没有在一个地方定义,也没有保存在 Facebook 服务器上。
对于您需要此信息的原因,可能有另一种解决方案。你想达到什么目的?
The permissions that you ask for depend on the script that is calling the login at that particular point, so it could be different in many places. One place in the app may only require basic permissions, while another place might require basic and email permissions. So you can't get a one-size-fits-all answer for an app because it isn't defined in one place, and it is not saved on the facebook server.
It might be that there is another solution to the reason why you want this information. What is it you are trying to achieve?