offline_access permission not present in Graph api explorer in facebook graph api

▼魔方 西西 提交于 2020-01-02 00:12:10

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/8988809/offline-access-permission-not-present-in-graph-api-explorer-in-facebook-graph-ap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!