Key hash for Android-Facebook app

后端 未结 30 3333
误落风尘
误落风尘 2020-11-22 01:17

I\'m working on an Android app, in which I want to integrate a Facebook posting feature. I downloaded the Facebook-Android SDK, and I got the readme.md (text file) in there,

30条回答
  •  情书的邮戳
    2020-11-22 01:53

    The simplest solution I have found is this:

    • Open up Log Cat
    • Try and access Facebook with the Android SDK
    • Look for the line in the log that looks like this:

      04-24 01:14:08.605: I/System.out(31395): invalid_key:Android key mismatch. 
      Your key "abcdefgHIJKLMN+OPqrstuvwzyz" does not match the allowed keys specified in your
      application settings. Check your application settings at 
      http://www.facebook.com/developers
      
    • Copy "abcdefgHIJKLMN+OPqrstuvwzyz" and paste it into the Facebook Android Key Hash area.

提交回复
热议问题