title: why facebook login raise Error performing query
body: <p>I have implemented Facebook login on my android app,using <em>development</em> key hash, and I don't use fire-base, and I am getting the following run-time error when I click on the facebook login button loginButton:</p>
  
  <blockquote>
    <p>SERVER_ERROR: [code] 1675030 [message]: Error performing query.
    [extra]: null</p>
  </blockquote>
  
  <pre><code>compileSdkVersion 27
  buildToolsVersion '27.0.3'
  
  minSdkVersion 19
  
  targetSdkVersion 21
  
  implementation 'com.android.support:appcompat-v7:27.0.2'
  
  implementation 'com.android.support:design:27.0.2'
  
  implementation 'com.android.support:support-v4:27.0.2'
  
  implementation 'com.facebook.android:facebook-login:4.36.0'
  
  LoginButton loginButton = (LoginButton) findViewById(R.id.login_button);
  
      loginButton.setReadPermissions("email", "public_profile");
  
      // Callback registration
      loginButton.registerCallback(callbackManager, new FacebookCallback&lt;LoginResult&gt;() {
          @Override
          public void onSuccess(LoginResult loginResult) {
              // App code
              Toast.makeText(getApplicationContext(), "Facebook sign in successfully", Toast.LENGTH_LONG).show();
          }
  
          @Override
          public void onCancel() {
              // App code
          }
  
          @Override
          public void onError(FacebookException exception) {
              // App code                
              Toast.makeText(getApplicationContext(), exception.toString(), Toast.LENGTH_LONG).show();                
              exception.printStackTrace();
          }
      });
  </code></pre>
  
  <p>even i am testing Facebook login using a a tester user, which i defined in Facebook developer Roles.</p>
  
  <p>if added "user_friends" to the read permissions facebook login crash:</p>
  
  <pre><code>loginButton.setReadPermissions("email", "public_profile","user_friends");
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/6MK7H.png" rel="nofollow noreferrer">facebook login crash</a></p>
  
  <p>but if i didn't include "user_friends",  i reach the following stage, but when click continue, i got error "error in performing query: extra: null" as described above:</p>
  
  <pre><code>loginButton.setReadPermissions("email", "public_profile");
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bIztK.png" rel="nofollow noreferrer">facebook login dialog</a></p>
  
  <p>so can anybody advise please?</p>
  
  <p>thank you</p>