I am trying to create my own Hash key to log in with facebook from my application in IONIC for android, and when executing the following command line it throws me an error that I do not understand:
keytool -exportcert -alias androiddebugkey -keystore "C:\Users\Jair Acevedo\.android\debug.keystore" | "C:\OpenSSL-Win32\bin\openssl" SHA1 -binary | "C:\OpenSSL-Win32\bin\openssl" base64
And the error that comes back is the following:
En línea: 1 Carácter: 104
+ ... edo\.android\debug.keystore" | "C:\OpenSSL-Win32\bin\openssl" SHA1 -b ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Las expresiones solo se permiten como primer elemento de las canalizaciones.
En línea: 1 Carácter: 135
+ ... android\debug.keystore" | "C:\OpenSSL-Win32\bin\openssl" SHA1 -binary ...
+ ~~~~
Token 'SHA1' inesperado en la expresión o la instrucción.
En línea: 1 Carácter: 150
+ ... n32\bin\openssl" SHA1 -binary | "C:\OpenSSL-Win32\bin\openssl" base64
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Las expresiones solo se permiten como primer elemento de las canalizaciones.
En línea: 1 Carácter: 181
+ ... n32\bin\openssl" SHA1 -binary | "C:\OpenSSL-Win32\bin\openssl" base64
+ ~~~~~~
Token 'base64' inesperado en la expresión o la instrucción.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ExpressionsMustBeFirstInPipeline
I have installed Openssl, the Android SDK and the keytool in the system PATH.
Any help is appreciated !!!