Querying Facebook user data through new iOS6 social framework

后端 未结 6 2039
轮回少年
轮回少年 2020-12-28 10:41

I am trying to query information about a user using iOS 6\'s new Facebook integration API. This is the code I\'m using, which is basically identical to what they demoed at W

6条回答
  •  轮回少年
    2020-12-28 11:16

    I faced with the same issue and found the workaround:

    NSString *uid = [NSString stringWithFormat:@"%@", [[self.account valueForKey:@"properties"] valueForKey:@"uid"]] ;                
    NSURL *url = [NSURL URLWithString:[@"https://graph.facebook.com" stringByAppendingPathComponent:uid]];
    

提交回复
热议问题