在线图api中的图形api资源管理器中没有offline_access权限 [英] offline_access permission not present in Graph api explorer in facebook graph api

查看:195
本文介绍了在线图api中的图形api资源管理器中没有offline_access权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天为我的网站创建了一个Facebook应用程序,我通过javascript sdk请求access_token,其中scope = manage_pages,offline_access,read_insights我发现没有为新创建的应用程序提供 offline_access 其余的许可被授予,但我已经通过两个应用程序,我可以得到offline_access范围我的访问令牌我的问题是,



是新的JavaScript sdk中包含任何更新。



重现步骤:
1.在Facebook上创建一个应用程序。 b
$ b

2.点击编辑应用程序,在左侧链接点击图形api资源管理器。



3.在graphi资源管理器中选择您的新创建应用程序和。



4.click get_accestoken按钮对话框 - >扩展许可



5.select read_insights, manage_pages,offline_access checkboxes.click ok。


  1. 你不能除了offline_access以外的其他请求都是存在的。

从上述步骤获得的access_token将在会话关闭时过期。所以你可以明白 offline_access 的范围是没有给出的。



请帮我一个人来解决这个问题...
谢谢提前。

解决方案

将名为 deprecate offline_access 的应用设置更改为禁用在高级选项卡。


i've created a facebook Application today for my website i'm requesting access_token through javascript sdk with scope=manage_pages,offline_access,read_insights i figured out that offline_access was not given for the application newly created rest of the permission was granted but i've already made two application through that i can able to get offline_access scope for my access token my question is,

Is there any updates included in the new Javascript sdk .

steps to reproduce: 1.create an application in facebook.

2.click edit application and at the left side links click graph api explorer.

3.In the graphi explorer choose your newly created application and.

4.click get_accestoken button dialogue box ->extended permission

5.select read_insights,manage_pages,offline_access checkboxes.click ok.

  1. you can notice except offline_access other request are Present.

The access_token which you got from above steps will expires when session closed. so you can understand offline_access scope was not given.

Please some one help me to get out of this ... thanks in advance.

解决方案

Change the app setting called deprecate offline_access to Disabled in the advanced tab.

这篇关于在线图api中的图形api资源管理器中没有offline_access权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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