Android: Facebook Login: The app does not have Android key hashes

I am trying to access Facebook to work in my Android application:

Here's the incomplete code for this:

   private void performFacebookLogin()
                {
                    final Session.NewPermissionsRequest newPermissionsRequest = new Session.NewPermissionsRequest(this, Arrays.asList("email"));
                    Session openActiveSession = Session.openActiveSession(this, true, new Session.StatusCallback()
                    {
                     ...
                    }
                }

But when this code is called, an error message appears on the Facebook login page:

Android key hashes are not configured in the application. Configure application key hashes at: http://developers.facebook.com/apps/AppID

On the developers page, I also don’t see a way to provide any hash key, and I'm not sure how to generate the hash key itself.

+4
source share
3 answers

Android. , Facebook. , 1,2,3,4,5. , . facebook. .

Facebook facebook

Image 1Image 2

,

+4
0

Facebook:

Facebook, - release Android Facebook. Facebook .

: https://developers.facebook.com/docs/android/getting-started#release-key-hash

-:

-1

All Articles