I have an app deployed on Goole’s Play Store that uses Facebook SSO login. The main problem is that I haven’t checked the keyhash before submitting it and I don’t have the computer I made that build with anymore (therefore no debug.keystore, but I still have the certificate I signed the apk with).
I tried to unzip the APK, go to META-INF and extract the file CERT.RSA… from there I used the command: keytool -printcert -file CERT.RSA | openssl sha1 -binary | openssl base64
but the output is wrong (it’s a keyhash I already have in the facebook app settings).
I would like to avoid making an update just for that problem, considering I could solve it just setting the right keyhash in the facebook app settings.
ok, the problem was the alias inside the certificate. Found the right one to use, everything worked as a charm.
The final command line was: