title: Android Facebook login without Facebook login button
body: <p>I want login with facebook without using Facebook Login Button. so i applied click event on default android button.</p>
  
  <p>But i got error <code>cannot resolve method logInWithReadPermissions(..)..</code></p>
  
  <p>here is my code. Any help will appreciated</p>
  
  <pre><code>btnFBLogin.setOnClickListener(new View.OnClickListener() {
         @Override
         public void onClick(View v)
         {    
              LoginManager.getInstance().logInWithReadPermissions(this, Arrays.asList("public_profile", "email"));// here giving error can not resolve method
         }
  });
  </code></pre>