title: missing INTERNET permission when trying facebook authentication with android
body: <p>I’m trying to authenticate my application via facebook. I’m compiling for  compileSdkVersion 25. 
  In AndroidManifest.xml I’ve enabled
  <code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;</code></p>
  
  <p>I’m using LoginManager tecnique called from an android Button </p>
  
  <pre><code>btnFb = (Button) findViewById(R.id.btnFb);
  btnFb.setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View view) {
          getPermission();
          LoginManager.getInstance().logInWithReadPermissions(MainActivity.this, Arrays.asList("public_profile", "email"));
      }
  });
  </code></pre>
  
  <p>I've associated a registerd callBack to the LoginManager</p>
  
  <pre><code>    FacebookSdk.sdkInitialize(MainActivity.this);
      callbackManager = CallbackManager.Factory.create();
      LoginManager.getInstance().registerCallback(callbackManager, new FacebookCallback&lt;LoginResult&gt;() {
  
          @Override
          public void onSuccess(LoginResult result) {
              Log.i("LoginActivity","onSuccess Facebook Login"+result);
              GraphRequest request = GraphRequest.newMeRequest(
                      AccessToken.getCurrentAccessToken(),
                      new GraphRequest.GraphJSONObjectCallback() {
                          @Override
                          public void onCompleted(JSONObject jsonObject, GraphResponse response) {
                              Log.d("","onCompleted jsonObject: "+jsonObject);
                              Log.d("","onCompleted response: "+response);
                          }
                      });
              Bundle parameters = new Bundle();
              parameters.putString("fields", "id,name,link,cover,email");
              request.setParameters(parameters);
              request.executeAsync();
          }
  
          @Override
          public void onCancel() {
              // TODO Auto-generated method stub
              Log.i("LoginActivity","Login cancelled");
          }
  
          @Override
          public void onError(FacebookException e) {
              // TODO Auto-generated method stub
              Log.e("LoginActivity","ERROR: "+e.getMessage());
              e.printStackTrace();
          }
      });
  </code></pre>
  
  <p>And before the facebook call a request permission with the following code</p>
  
  <pre><code>private void getPermission(){
      if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.M) {
          if (ContextCompat.checkSelfPermission(this, Manifest.permission.INTERNET)
                  != PackageManager.PERMISSION_GRANTED){
  
                  requestPermissions(new String[]{Manifest.permission.INTERNET},
                          1);
  
          }
      }
  }
  </code></pre>
  
  <p>despite my attempts the authentication fails </p>
  
  <pre><code>Caught exception: java.lang.SecurityException: Permission denied (missing INTERNET permission?)
       at com.facebook.login.LoginManager.onActivityResult(LoginManager.java:190)
       at com.facebook.login.LoginManager$1.onActivityResult(LoginManager.java:159)
       at com.facebook.internal.CallbackManagerImpl.onActivityResult(CallbackManagerImpl.java:82)
       at it.implementa.ztfacebook2.MainActivity.onActivityResult(MainActivity.java:130)
       at android.app.Activity.dispatchActivityResult(Activity.java:6597)
       at android.app.ActivityThread.deliverResults(ActivityThread.java:3726)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:3773)
       ......
  </code></pre>
  
  <p>Any suggestions? Thanks</p>