title: facebook authentication dialog disappearing instantly
body: <p>I am using the latest facebook android SDK but when I call the <code>mFaceboo.authorize(...)</code>  method the dialog box is not appearing instead a full screen page is showing up for a second and instantly disappears.</p>
  
  <p>I noticed that i have recently updated the official facebook client app in my device. When I have removed the updates from the facebook client the Authentication dialog is working fine.</p>
  
  <p>But the problem is that I can't force users of my app not to update their facebook client app. Is anyone facing same problem or knows the solution please help.</p>
  
  <p>Following is the snippet that I am using.</p>
  
  <pre><code>   mFacebook.authorize(MyProfileScreen.this, PERMISSIONS, new DialogListener() {
  
  
          @Override
          public void onComplete(Bundle values) {
  
              /*
               * Here we'll the token so we can store it for the further use.
               */
              Log.v(TAG, "Facebook Login Success! ");
  
              launchProfileScreen();
          }
  
          @Override
          public void onFacebookError(FacebookError e) {
              // TODO Auto-generated method stub
              Log.v(TAG, "onFacebookError"+e.getMessage());
          }
  
          @Override
          public void onError(DialogError e) {
              // TODO Auto-generated method stub
              Log.v(TAG, "onError"+e.getMessage());
          }
  
          @Override
          public void onCancel() {
              // TODO Auto-generated method stub
              Log.v(TAG, "onCancel");
          }
      });
  </code></pre>
  
  <p>Also calling </p>
  
  <pre><code> @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
  
      mFacebook.authorizeCallback(requestCode, resultCode, data);
  }
  </code></pre>