anchor.diff: +
  +var FBPermission = {public_profile: false, email: false, publish_actions: false};
   
   function initFB() {
     window.fbAsyncInit = function() {
  
positive.code:   }(document, 'script', 'facebook-jssdk'));  
  }
  
  function checkPermissions(uid) {
    FB.api(
        "/" + uid + "/permissions",
        function (response) {
          if (response && !response.error) {
            console.log(response);
          }
        }
    );  
  
negative.code:     console.log(response);
      if(response.status === 'connected') {
        if(response.authResponse) {
          window.location = '/auth/facebook/callback';
          //checkPermissions(response.authResponse.userID);
        }
      }
      else {
        alert('Please ok');
      }
    });
  }
  