title: Facebook release mode wrong key hash
body: <p>I tried generating a <code>facebook</code> release key hash for my app
  and i used this command (in MAC OSX)</p>
  
  <pre><code>keytool -exportcert -alias &lt;my_alias_lowercase&gt;  -keystore /Users/path/to/my/app/release/key" | openssl sha1 -binary | openssl base64
  </code></pre>
  
  <p>It generated a hash key - but it was the wrong one !</p>
  
  <p>Why did it generate a wrong hash key ?</p>
  
  <p>I ended up getting the correct key by showing it in a dialog in the app runtime.</p>
  
  <p>How do I generate the correct key for the future ?</p>
  
  <p><strong>EDIT:</strong>  </p>
  
  <p>To clarify the question:</p>
  
  <p>I pasted the above mentioned command into the terminal. Got a hash key. <strong>Wrong key.</strong></p>
  
  <p>To fix my immediate problem: I wrote inside the app the facebook "show my hash key" and simply wrote it into my facebook app.</p>
  
  <p>The problem: Why did i get the wrong hash key when i got it from the terminal?</p>