1
您好我正在使用SDK Android,Eclipse和API的Facebook在Android上编程。我使用此代码来获得生日。API Facebook返回null与getBirthday()
public void onCompleted(GraphUser user, Response response) {
if (user != null) {
user.getBirthday();
但getBirthday返回null。
我需要知道用户的生日。我尝试让JSON与此代码:
JSONObject json = user.getInnerJSONObject();
检查JSON,日期不会出现。我能做些什么来获得生日?