views:

110

answers:

0

Hello! This is my first question in here, but I've gotten loads of help from other posts in here, so thanks for a great community!

Ok, I've got my Facebook session set up and I'm able to log in and get my UID. But when I run this query, I get a blank result:

- (void)getUserName {
    NSString *fql = [NSString stringWithFormat:@"select uid,message from status where uid in (select uid2 from friend where uid1=%lld) order by time desc ", uid];
    NSDictionary *params = [NSDictionary dictionaryWithObject:fql forKey:@"query"];
    [[FBRequest requestWithDelegate:self] call:@"facebook.fql.query" params:params];  
}

Appreciate any help you can muster!