问题描述
当我尝试连接 Facebook API 时出现此错误
I got this error when I try to connect with Facebook API
无效范围:offline_access、publish_stream.此消息仅向开发人员显示.您的应用程序的用户将忽略这些权限(如果存在).请阅读有效权限的文档:https://developers.facebook.com/docs/Facebook-登录/权限
在我可以毫无问题地将我的网站与我的 Facebook 帐户连接之前,今天我收到了上述错误,该应用程序在我的 Facebook 帐户中当我使用我应用的其他 Facebook 帐户用户时,我可以毫无问题地连接到我的网站.
Before I can connect my website with my Facebook account without problem and today I got the error above, the app is in my Facebook accountwhen I use other Facebook account users of my app I can connect to my website without problem.
推荐答案
offline_access
和 publish_stream
权限已弃用,因此无法再请求.
The permissions offline_access
and publish_stream
are deprecated, thus cannot be requested anymore.
publish_stream
可以替换为 publish_actions
,offline_access
没有了.
publish_stream
can be replaced by publish_actions
, offline_access
is gone.
见
- https://developers.facebook.com/docs/facebook-login/permissions/v2.4#reference
- https://developers.facebook.com/docs/apps/changelog
这篇关于错误无效范围:offline_access,publish_stream,当我尝试与 Facebook API 连接时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!