Facebook Invalid Scope error

匿名 (未验证) 提交于 2019-12-03 08:48:34

问题:

I have created an app of V2.3 with rails app. It was working fine before April 30th. Now I am getting this error :

Invalid Scopes: offline_access, publish_stream, create_event, friends_events. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions

I have even given permission to the app via Graph API Explorer. Still I am not able to resolve it.

Similar Question : Error Invalid Scopes: offline_access, publish_stream, when I try to connect with Facebook API

Adding Comments - This didn't solve my problem. I have tried this solution.

Any suggestions?

Thanks

回答1:

https://developers.facebook.com/docs/apps/changelog

I suggest not using old online tutorials to copy code from, always use the Facebook docs first.



回答2:

I don't understand why you have to post the question, as you linked the one already answered yesterday.

You have to remove the repsective permissions from the scope parameter of the Login URL.

See

scope: A comma separated list of Permissions to request from the person using your app.

You CANNOT use these permissions after April 30th 2015.



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