我正在收到这样的朋友信息:
String fqlQuery = "select uid, name, birthday, hometown_location, about_me, pic_square from user where uid in (select uid2 from friend where uid1 = me() LIMIT 20)";
Bundle params = new Bundle();
params.putString("q", fqlQuery);
Request request = new Request(currentSession,
"/fql",
params,
HttpMethod.GET,
new Request.Callback(){
@Override
public void onCompleted(Response response) {
Log.i(TAG, "Got results: " + response.toString());
}
});
在Facebook权限中我有:friends_about_me,friends_birthday,friends_hometown
logCat输出:
10-11 09:27:27.842: I/MainActivity(8161): Got results: {Response: responseCode: 200, graphObject: GraphObject{graphObjectClass=GraphObject, state={"data":[{"uid":13962124,"birthday":null,"hometown_location":null,"pic_square":"https:\/\/fbcdn-profile-a.akamaihd.net\/hprofile-ak-ash2\/1115780_13962124_1029801849_q.jpg","about_me":null,"name":"Jenny Rader"} ... etc.
你可以看到我得到的名字,但不是生日/位置/约。我做错了什么?