2016-09-21 146 views
0

我知道这个问题已经被问过这样首先让我列举的一切,我尝试没有任何成功的事情:密钥散列:Facebook的SDK

  1. I made my app live in facebook settings
  2. 我出版我的应用程序的发布模式。
  3. I registered the hash that did not match in the app settings settings
  4. I also registeredhash provided by this code,发布在释放模式的应用程序和结果散列的是,我在应用设置中已经注册了相同的散列。
  5. 我执行命令keytool -exportcert -alias '***' -keystore '****' | '*****' sha1 -binary | '*****' base64并将其粘贴到应用程序设置中的散列键中。

应用程序登录的唯一方法是如果Facebook应用程序登录的管理员。但是,如果别人使用该应用程序并登录,则会发生错误。

唯一一个我没有;试过的是deleting the fb app and start over,但我想知道我最先失踪的是什么。

我是不是疯了?是。我有足够的尝试吗?看看该PIC波纹管(我想你就会知道,色彩的手段)

enter image description here

应用程序和SDK的信息:

android { 
    signingConfigs { 
     config { 
      keyAlias '****' 
      keyPassword '****' 
      storeFile file('****') 
      storePassword '****' 
     } 
    } 
    compileSdkVersion 23 
    buildToolsVersion "23.0.3" 
    defaultConfig { 
     applicationId "****" 
     minSdkVersion 16 
     targetSdkVersion 21 
     versionCode 1 
     multiDexEnabled true 
     versionName "***" 
    } 
    dexOptions { 
     incremental true 
     preDexLibraries = false 
     jumboMode = false 
     maxProcessCount 4 
     javaMaxHeapSize "6g" 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 
} 

dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    testCompile 'junit:junit:4.12' 
    testCompile 'org.mockito:mockito-core:2.0.5-beta' 
    compile 'com.android.support:appcompat-v7:23.4.0' 
    compile '****' 
    compile 'com.squareup.retrofit2:converter-gson:2.0.2' 
    compile 'com.facebook.android:facebook-android-sdk:4.8.0' -- facebook sdk 
    compile 'com.google.android.gms:play-services:9.2.1' 
    compile 'com.squareup.picasso:picasso:2.5.2' 
    compile 'com.android.support:design:23.4.0' 
    compile '****' 
} 

回答

0

小时后尝试,终于,我的所有的满意度找到了解决方案,并感谢上帝(我应该得到这一刻,我几乎从字面上把我的头撞在墙上,哈哈),找到了解决办法。

如果您指定user_birthday作为Facebook sdk的权限列表。确保您还提交了在应用程序审阅选项卡中使用它的权限。您不允许默认使用它。 Facebook需要一些更多的信息,比如你如何使用该权限,以及在哪里等等。