title: Login Error: There is an error in logging you into this application. Please try again later
body: <p>I am getting this error. When I try to sign in with facebook to my app.
  When I first time authentication it will correctly working. After I unistalled my application and now trying to sign in with Facebook on that I am getting this error.</p>
  <p><strong>Another Issue</strong> : After authenticate in device1 and try to login with facebook on device2 also same error is getting.</p>
  <p><strong>Solution I Found :</strong> when I remove App authentication from Facebook App Settings it is working in above scenario's but this is not an good solution how we can tell to users to do this action?</p>
  <pre><code>btnFbLogin.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  if(accessToken != null) {
                      boolean expires = accessToken.isExpired();
                      if(!expires) {
                          performFbLoginOrSignUp(accessToken);
                      }
                  } else {
                      LoginButton loginButton = (LoginButton) findViewById(R.id.login_button);
                      callbackManager = CallbackManager.Factory.create();
  
                      if (loginButton != null) {
                          loginButton.setReadPermissions(&quot;public_profile&quot;, &quot;email&quot;, &quot;user_friends&quot;);
  
                          if (CommonUtil.isConnectingToInternet(LoginActivity.this)) {
                              loginButton.performClick();
  
                              loginButton.setPressed(true);
  
                              loginButton.invalidate();
  
                              loginButton.registerCallback(callbackManager, mCallBack);
  
                              loginButton.setPressed(false);
  
                              loginButton.invalidate();
                          } 
                      }
                  }
              }
          });
  </code></pre>
  <p><a href="https://i.stack.imgur.com/FcoSum.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FcoSum.png" alt="Error page" /></a></p>
  <p>In Facebook example also having an issue :
  <a href="https://github.com/facebook/facebook-android-sdk/tree/master/samples/HelloFacebookSample" rel="noreferrer">GitHub link of Facebook example</a></p>
  <p><em><strong>Steps to reproduce</strong></em> :</p>
  <ol>
  <li><p>Launch the app Login with Facebook Authenticate FB profile.</p>
  </li>
  <li><p>Un_install the app and install again.</p>
  </li>
  <li><p>Now try to  Login with Facebook.</p>
  </li>
  <li><p>The above error will occur. because we already authenticated so need to access fb profile. but here we facing the issue.</p>
  </li>
  <li><p>Here already authenticated page is not showing.</p>
  </li>
  <li><p>I am using Native FB app with the device Xiaomi Redmi Note 3</p>
  </li>
  </ol>