Generate Key in Facebook api to log me from IONIC

0

I'm following this tutorial:

link

In a moment it is necessary to create a keyhash, the issue is that I do not know in IONIC when or when it is created. with this command I create the keyhash for facebook:

keytool -exportcert -alias androiddebugkey -keystore "C:\Users\user\.android\debug.keystore" | 
"C:\Users\yeisonvelez\Desktop\open\bin\openssl" sha1 -binary | 
"C:\Users\user\Desktop\open\bin\openssl" base64

When this command is executed, it asks for a password, and I do not know what it is. I'm also not sure what androiddebugkey is. The name of my app is io.ionic.starter and the generated apk "android-debug" in case you need to know this information.

The problem is that the facebook keyhash does not match the command that I just executed.

    
asked by unusuario 06.05.2018 в 08:04
source

1 answer

0

The keyhash is a 28-character string that Facebook uses to authenticate the interactions between your application and Facebook. This key is unique. Without this key it is not possible for your application to work properly with facebook. For the development of the app and to verify the functioning of the flow of your application with the integration of Facebook, Android generates an "androiddebugkey" test key with which it signs the applications in "debug", to take it to production mode it will be necessary that you generate your own key.

For "androiddebugkey" the password is "android".

He left some links for you to investigate a little more about the topic:
Stack
Link1 (Android developers)
Ionic v1 Documentation
Stackoverflow Facebook

Remember that it is good to investigate if there is a question similar to yours to avoid having to go to the forums!

I hope I helped you.
Greetings!

    
answered by 07.05.2018 в 20:34