0
`//now load all my friend's birthdays
    NSMutableDictionary * params = 
                         [NSMutableDictionary dictionaryWithObjectsAndKeys:
                         @"select birthday, name, uid, pic_square from user where uid in (select uid2 from friend where uid1=me()) order by name", 
                         @"query",
                         nil];'

    [self.facebook requestWithMethodName: @"fql.query" andParams: params andHttpMethod: @"POST" andDelegate: self];

这只会让我得到第一个朋友的名字。如何获取好友的所有详细信息?

4

1 回答 1

0

您需要征求用户的friends_birthday许可。否则,您将无法获得朋友的生日。它还受朋友的隐私设置的约束 - 只有当他们在他们的个人资料中显示 DOB 时,您才会看到它。

于 2012-05-25T11:42:41.777 回答