title: facebook login button works for my account but not for my friend's account
body: <p>I'm writing an app with facebook login (using facebook login button).</p>
  
  <p>I succeeded loging in with <strong>my</strong> user in facebook</p>
  
  <p>but failed logging in with <strong>my friend's</strong></p>
  
  <pre><code>{Session state:CLOSED_LOGIN_FAILED, token:{AccessToken token:ACCESS_TOKEN_REMOVED permissions:[]}, appId:131390430364547}
  </code></pre>
  
  <p>after the user press OK on the permission dialog.</p>
  
  <p>this is my code:</p>
  
  <pre><code>public class FacebookLogin3Activity extends BaseActivity {
      private Session.StatusCallback callback = new Session.StatusCallback() {
  
          @Override
          public void call(Session session, SessionState state,
                  Exception exception) {
  
              // String hashNew = getHash();
  
              onSessionStateChange(session, state, exception);
              if (session.isOpened()) {
                  StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder()
                          .permitAll().build();
                  StrictMode.setThreadPolicy(policy);
                  Log.e("user", "session established");
                  Request.newMeRequest(session, new Request.GraphUserCallback() {
  
                      @Override
                      public void onCompleted(GraphUser user, Response response) {
                          if (user != null) {
                              Log.e("user", "loged user");
                              // buildUserInfoDisplay(user);
                          }
                      }
                  }).executeAsync();
              } else {
                  Log.e("user", "session not established");
              }
          }
  
          private void onSessionStateChange(Session session, SessionState state,
                  Exception exception) {
  
          }
      };
  
      private String getHash() {
          PackageInfo info;
          String hash = "no data";
  
          try {
  
              info = getPackageManager()
                      .getPackageInfo("com.example.manyexampleapp",
                              PackageManager.GET_SIGNATURES);
  
              for (Signature signature : info.signatures) {
                  MessageDigest md = MessageDigest.getInstance("SHA");
                  md.update(signature.toByteArray());
                  hash = Base64.encodeToString(md.digest(), Base64.DEFAULT);
                  Log.d("KeyHash:",
                          Base64.encodeToString(md.digest(), Base64.DEFAULT));
              }
          } catch (NameNotFoundException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          } catch (NoSuchAlgorithmException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
  
          return hash;
      }
  
      private UiLifecycleHelper uiHelper; // and in the on create method to use
                                          // the login button
  
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          // StrictMode.ThreadPolicy policy = new
          // StrictMode.ThreadPolicy.Builder()
          // .permitAll().build();
  
          // StrictMode.setThreadPolicy(policy);
          uiHelper = new UiLifecycleHelper(this, callback);
          uiHelper.onCreate(savedInstanceState);
          setContentView(R.layout.facebook_login);
  
          LoginButton buttonLoginLogout = (LoginButton) findViewById(R.id.authButton);
          buttonLoginLogout.setReadPermissions(Arrays.asList("user_status"));
  
      }
  
      // also need to manage the ui status in al lifecycle methods
  
      public void onResume() {
          super.onResume();
          uiHelper.onResume();
      }
  
      public void onPause() {
          super.onPause();
          uiHelper.onPause();
      }
  
      @Override
      public void onActivityResult(int requestCode, int resultCode, Intent data) {
          super.onActivityResult(requestCode, resultCode, data);
          uiHelper.onActivityResult(requestCode, resultCode, data);
      }
  
      @Override
      public void onDestroy() {
          super.onDestroy();
          uiHelper.onDestroy();
      }
  
      @Override
      protected void onSaveInstanceState(Bundle outState) {
          super.onSaveInstanceState(outState);
          uiHelper.onSaveInstanceState(outState);
      }
  
  }
  </code></pre>
  
  <p>what could be the different settings between our accounts?</p>
  
  <p>how can i make it login for his account as well?</p>