单个查询:

SELECT about_me,name,relationship_status,birthday_date,interests,sex,work,education FROM user WHERE uid = me()

 

多个查询

NSString *query =@"{"@"'other_info':'SELECT name,education,work FROM user where uid=780798254',"
    @"'my_info':'SELECT uid, name, pic_square FROM user WHERE uid = 780798254',"
    @"}";

 查询方法:

NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys:query,@"q", nil];
[FBRequestConnection startWithGraphPath:@"/fql" parameters:params HTTPMethod:@"GET" completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
        if (error) {
            DLog(@"Error: %@", [error localizedDescription]);
        }else{
            NSLog(@"Result: %@",result);
        }
    }];

 

相关文章:

  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-11-12
  • 2021-06-11
  • 2021-11-12
  • 2021-12-16
猜你喜欢
  • 2021-10-12
  • 2022-12-23
  • 2020-07-20
  • 2021-11-12
  • 2021-12-16
  • 2022-02-07
  • 2021-07-09
相关资源
相似解决方案