There is a facebook login button in my android app. I can login using that button. Button only one time I can login using facebook login button. I failed to login second time after succesfully logged out.This is the login response I got
Facebook ErrorInvalid key hash. The key hash HG2kYV1on+6yY1J7stl4KGrNsPA= does not match any stored key hashes. Configure your app key hashes at https://developers.facebook.com/apps/596405140754842/
But I logged in after copying that hash keys to stored keyhashes in my facebook devolopers page. When I install this app on another phone same problem occured.I solved it by copying that invalid hash key to stored hash keys in my facebook developers page. I also installed my app on phones without facebook application. In that case a new popup window comes asking email and facebook password. I can login and logout any number of times on those phones
But I need facebook login working on phones with facebook application without coping hash key for every phone