I am trying to get a friends list of users using fb connect for iphone.
I tried both of the following FQL queries, but they do not return anything.
which one is correct?
NSString* fql = [NSString stringWithFormat:@"select flid,name from friendlist where owner=%lld",[self fbSession].uid];
or
NSString* fql = [NSString stringWithFormat:@"SELECT flid,uid FROM friendlist_member WHERE flid IN (SELECT flid FROM friendlist WHERE owner=%lld)",[self fbSession].uid];
source
share