I am trying to generate key hash for app in which I have integrate facebook sign in
For generationg keyhash I am using code beloew as per facecook document
> C:\Program Files\Java\jdk1.8.0_111\bin> keytool -exportcert -alias androiddebugkey -keystore "C:\Users\Akash\.android \debug.keystore" |"C:\OpenSSL\bin\openssl" sha1 -binary | "C:\OpenSSL\bin\openssl" base64
but it shows me error like:
At line:1 char:97
+ ... ers\Akash\.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha1 -b ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~
Expressions are only allowed as the first element of a pipeline.
At line:1 char:122
+ ... kash\.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha1 -binary ...
+ ~~~~
Unexpected token 'sha1' in expression or statement.
At line:1 char:137
+ ... :\OpenSSL\bin\openssl" sha1 -binary | "C:\OpenSSL\bin\openssl" base64
+ ~~~~~~~~~~~~~~~~~~~~~~~~
Expressions are only allowed as the first element of a pipeline.
At line:1 char:162
+ ... :\OpenSSL\bin\openssl" sha1 -binary | "C:\OpenSSL\bin\openssl" base64
+ ~~~~~~
Unexpected token 'base64' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException