Search code examples
androidfacebook-android-sdk

What is the purpose of Key Hash for using Facebook API on android?


I'm just beginning learning to use facebook's sdk for making apps and I can't quite understand the purpose of generating a key hash. Can someone explain the purpose of it?


Solution

  • Its Unique key to use for communication between your App and Facebook App

    Facebook uses the key hash to authenticate interactions between your app and the Facebook app. If you run apps that use Facebook Login, you need to add your Android development key hash to your Facebook developer profile.

    see this Docs