Code example for FacebookException

Methods: getMessage

0
	        this.mLoginButton.setReadPermissions(readpermissions);
	        this.mLoginButton.setOnErrorListener(new OnErrorListener() {
	        		   @Override 
	        		   public void onError(FacebookException error) {
	        		    //Log.i(TAG, "Error " + error.getMessage()); 
	        			   edt.setText(error.getMessage());
	        		   } 
	        		  }); 
	        mLoginButton.setUserInfoChangedCallback(new com.facebook.widget.LoginButton.UserInfoChangedCallback() {
	            @Override 
	            public void onUserInfoFetched(GraphUser user) {
	                LogIn.this.user = user;
	                updateUI(); 
	                // It's possible that we were waiting for this.user to be populated in order to post a 
	                // status update. 
	                //handlePendingAction(); 
	            } 
	        }); 
       
    }