春季社交facebook抛出无效范围:facebook的user_posts

时间:2018-11-25 15:59:34

标签: facebook login spring-social-facebook

我正在尝试使用https://github.com/spring-guides/gs-accessing-facebook中所述的Facebook登录 它使用spring-social-facebook, enter image description here

当我单击按钮时,它重定向到: https://www.facebook.com/v2.5/dialog/oauth?client_id=386256551915395&response_type=code&redirect_uri=http%3A%2F%2Fwww.letnlet.com%2Fconnect%2Ffacebook& 范围=用户帖子&state = 4cf13d70-943b-472e-a73a-a2e08dbe5050

它会自动添加'scope = user_posts',然后出现如下错误:

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

但是如果我删除了 scope = user_posts ,然后再次手动发送请求,它将很好地重定向。那么如何解决呢?谢谢!

0 个答案:

没有答案