In my android application, I used facebook login. It is first time ever I used it.
The login functionality is working fine in release apk file. Also, I have generated ke
I improved @vChamps answer a bit. just pass the SHA1 string to below function
public void hashFromSHA1(String sha1) {
String[] arr = sha1.split(":");
byte[] byteArr = new byte[arr.length];
for (int i = 0; i< arr.length; i++) {
byteArr[i] = Integer.decode("0x" + arr[i]).byteValue();
}
Log.e("hash : ", Base64.encodeToString(byteArr, Base64.NO_WRAP));
}