您好我在Android上使用SDK Android,Eclipse和API Facebook进行编程。我用这段代码来过生日。
public void onCompleted(GraphUser user, Response response) {
if (user != null) {
user.getBirthday();
但getBirthday返回null。
我需要知道用户的生日。我试着用这段代码获取JSON:
JSONObject json = user.getInnerJSONObject();
检查JSON,日期不会出现。我该怎么办才能过生日?
答案 0 :(得分:1)