android Facebook sdk login issue in 3.7 -
i developed app uses facebook login login. using default login button provided in facebook sdk 3.7 login functionality. issue is, devices unable login app. issue occurring on few devices, more 70% devices able login. the error is: session state:closed_login_failed, token:{accesstoken token:access_token_removed permissions:[]} seems hash generation issue. just use solution - packageinfo info = getpackagemanager().getpackageinfo("<your_package_name>", packagemanager.get_signatures); (signature signature : info.signatures) { messagedigest md = messagedigest.getinstance("sha"); md.update(signature.tobytearray()); log.d("keyhash:", base64.encodetostring(md.digest(), base64.default)); } this uses standard hash generation provided facebook. the same mentioned here . update: although problem related way generating hash , method have placed facebook login code, think there tutorials out there can ...