I am making an app that contains a "share to facebook"-button, and am about to publish it soon. To do that, I know I need to add a release key hash in my app's settings in the facebook developer console. Following the steps in facebook's developer documentation here, they say:
When publishing your app, it is typically signed with a different signature to your development environment. Therefore, you want to make sure you create a Release Key Hash and add this to the Android settings for Facebook App ID.
And then, also as answered here, facebook want me to run the following command:
keytool -exportcert -alias <RELEASE_KEY_ALIAS> -keystore <RELEASE_KEY_PATH> | PATH_TO_OPENSSL_LIBRARY\bin\openssl sha1 -binary | PATH_TO_OPENSSL_LIBRARY\bin\openssl base64
Does this mean I should sign my release build before following facebook's guide in order to get this release key path?
What is release key alias, is it just a name that is only used here or do it need to match something else I've entered somewhere?
What is "Class Name" that they want me to enter in the facebook settings. Is it the name of the activity which will launch the share-to-facebook intent? The tip says "The Main Activity you want Facebook to launch". How should I know what their activity is called? I don't want Facebook to launch one of my activities, I want to launch one of theirs...
How can I confirm that it works once I've set a valid release key hash in facebook developer settings?