我正在实现从 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_profile
和 email
。
关于spring - 社交验证 : Invalid Scopes: read_stream,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34591006/