title: This app has no Android Key hashes configured. - Login with Facebook SDK
body: <p>I have problem about login with facebook acount in my application. I read to Facebook Doc. And I did  all step as Facebook Doc. </p>
  
  <p>First in login with facebook acount in app - <strong>SUCCESSFUL</strong> ! and than logout in application. I want to login <strong>again</strong> with my facebook acount. <strong>But not working</strong> !! And I took this Excepiton ! Please help me !</p>
  
  <p><strong>Exception : This app has no Android Key hashes configured.Configure your app key hashes at http:developers.facebook.com/apps/"APP ID"</strong></p>
  
  <p>Finaly; I used to part of code for HashKey Genarate </p>
  
  <pre><code> try {
          PackageInfo info =     getPackageManager().getPackageInfo("MY PACKAGE NAME",     PackageManager.GET_SIGNATURES);
          for (android.content.pm.Signature signature : info.signatures) {
              MessageDigest md = MessageDigest.getInstance("SHA");
              md.update(signature.toByteArray());
              String sign=Base64.encodeToString(md.digest(), Base64.DEFAULT);
              Log.e("MY KEY HASH:", sign);
            //  Toast.makeText(getApplicationContext(),sign,     Toast.LENGTH_LONG).show();
          }
  } catch (NameNotFoundException e) {
  } catch (NoSuchAlgorithmException e) {
  }
  </code></pre>
  
  <p><strong>I resolved my issue.</strong> I should have done setting on Facebook. 
  Steps :</p>
  
  <ol>
  <li>Go to facebook developer's page :
  <a href="https://developers.facebook.com/">https://developers.facebook.com/</a>  </li>
  <li><p>Open the App tabs and than
  click the Setting</p></li>
  <li><p>Paste the generate hashkey on HashKey's field =  If you don't have it yet, get your key hash part of code </p></li>
  <li>And than <strong>Single Sign On will be "Yes" : Single Sign On: Enable this setting.</strong></li>
  </ol>
  
  <p>I wanted to share my resolve. Maybe someone need this solution. Good Luck !</p>