简体   繁体   中英

Facebook not giving permission to access users uploaded photos

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

function login( callback ) {
        FB.login(function(response) {
            if (response.authResponse) {
                //console.log('Welcome!  Fetching your information.... ');
                if (callback) {
                    callback(response);
                }
            } else {
                console.log('User cancelled login or did not fully authorize.');
            }
        },{scope: 'user_photos'} );
    }

https://developers.facebook.com/docs/facebook-login/permissions/#reference-user_photos

This permission is restricted to a limited set of partners and usage requires prior approval by Facebook.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM