spring - 社交验证 : Invalid Scopes: read_stream

标签 spring spring-social django-socialauth python-social-auth

我正在实现从 Facebook 的注册。

我正在使用最新的 SocialAuth spring 库:socialauth-spring-2.6.jar

我只是关注 Socialauthdemo 应用程序提供的示例应用程序。

我的网址是:

https://www.facebook.com/dialog/oauth?
client_id=216531348684064&
response_type=code&
redirect_uri=http%3A%2F%2Fwww.mobily.com%3A8080%2FCustomerRegistration%2Fsocialauth.do&
scope=publish_actions%2Cpublic_profile%2Cemail%2Cuser_birthday%2Cuser_location%2Cuser_photos%2Cuser_friends%2Cread_stream

我收到错误:

Invalid Scopes: read_stream. 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

我检查了我的所有工作区,其中定义了所有这些范围,但我无法找到它们。即使我也在socialauth-spring-2.6.jar、socialauth-4.10.jar中搜索。

最佳答案

read_stream 已被弃用,请查看 here 。我建议从简单的东西开始,例如 public_profileemail

关于spring - 社交验证 : Invalid Scopes: read_stream,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34591006/

相关文章:

java - 在 WildFly 10 中添加 jars 作为部署

带有 Hibernate 3 和 Spring 的 MySQL UTF8

java - 如果我们只写包装代码,我们是否应该编写自动化测试代码?

spring - RestTemplate - 对 "https://api.twitter.com/oauth/request_token"的 POST 请求导致 406( Not Acceptable );调用错误处理程序

java - Spring Social - 为 Facebook 好友获取扩展权限

python - Facebook 不返回电子邮件 Python Social Auth

django - 如何让 Django 1.5 自定义用户模型和社交身份验证工作?

spring - spring executor中java executor framework的invokeAll等价方法

spring-boot - Spring Boot OAuth2 将内部用户与 Facebook/Google 登录链接起来

python - django-社会-auth : did not save twitter's email