Facebook native plugin shows Login Error

Hi guys,
I’m trying to use facebook native plugin after successfully integrated this plugin when I start my app on android device and click on fb login from Facebook shows me “Login error” I’m already added my Android platform on fb app but my app is still not in google play store is this the problem or is something else?

Please help because I’m stuck on this from some days…Thanks

I found what was the problem. First

keytool -list -printcert -jarfile debug.apk
Copy the SHA1 value to your clip board like this CD:A1:EA:A3:5C:5C:68:FB:FA:0A:6B:E5:5A:72:64:DD:26:8D:44:84 and open http://tomeko.net/online_tools/hex_to_base64.php to convert your SHA1 value to base64. This is what Facebook requires get the generated hash " ********************= " and copy the key hash to the facebook app.

And another problem was that I was trying to get user_friends permission but the app dosen’t have this permission allowed in fb.