App is misconfigured for Facebook Login with Release Key Hash

后端 未结 6 1597
陌清茗
陌清茗 2020-12-01 15:51

I\'ve intergrated Facebook to my App. I tested my App with Debug Key Hash was alright in emulator and my device HTC. When I tried the Release Key Hash for my signed APK , \"

6条回答
  •  不知归路
    2020-12-01 15:57

    I have had this Problem for two months now. My key hashes have been pyling up to 9. Today i finally found the simple solution:

    STEP 1:

    Install the facebook sdk you downloaded from the facebook developer page on your phone. Don´t install the normal facebook app. Make sure you can log into facebook. Then log out.

    STEP 2:

    Export your app with your final release key as an apk, like you would when uploading it to the playstore.

    STEP 3:

    Put the Apk file on your phone via usb cable or usb stick.

    STEP 4:

    Install your app, using a file manager: For example https://play.google.com/store/apps/details?id=com.rhmsoft.fm

    STEP 5:

    Launch your app and try to log in with facebook. A dialog will open and tell you: "the key has not been found in the facebook developer console

    STEP 6:

    Write down the key.

    STEP 7:

    Put it into your facebook developer console and save. Now you are done. Anyone that downloads your app, published with earlier used keystore can log into facebook.

    Enjoy

提交回复
热议问题