facebook login 配置的时候发生错误

5.28K 浏览M2交流区

facebook login 配置的时候发生错误

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

0

谢谢大佬

0

今年4月起,facebook的api升级了,

找到Social.php这个文件,并将下面这行,
  'Facebook'  =>  ["trustForwarded"  =>  false,  'scope'  =>  'email,  user_about_me'],
改成
    'Facebook'    =>  ["trustForwarded"  =>  false,  'scope'  =>  'email,  public_profile'],

0