FB.login(function(response) { if (response.authResponse) { // user has granted the permissions } else { // User cancelled login or did not fully authorize. } }, {scope: permsllist});