我正在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()