Android Simple facebook SDK生日返回null

时间:2015-04-29 07:08:51

标签: android facebook android-simple-facebook

我正在https://developers.facebook.com/创建一个新的Facebook应用程序,它返回null生日,而我使用我的旧facebook应用程序的凭据(FB id和命名空间)工作正常。我无法弄清楚这个问题,请帮忙......

Permission[] permissions = new Permission[] {
                Permission.PUBLIC_PROFILE,
                Permission.USER_BIRTHDAY,
                Permission.USER_EDUCATION_HISTORY,
                Permission.USER_LOCATION,
                Permission.EMAIL,
                Permission.USER_WORK_HISTORY
        };
SimpleFacebookConfiguration configuration = new SimpleFacebookConfiguration.Builder()
       .setAppId(APP_ID)
       .setNamespace(APP_NAMESPACE)
       .setPermissions(permissions)
       .build();
SimpleFacebook.setConfiguration(configuration);

然后调用simpleFacebook.login()

0 个答案:

没有答案