这是获取包含UID,名称和图片网址的完整好友列表的好方法吗?
NSString * q0 = @“SELECT uid,name,pic FROM user WHERE uid IN(SELECT uid2 FROM friend WHERE uid1 = me())”;
这是获取朋友签到的好方法,以及这些签到中朋友的详细信息吗? (通过fql.multiquery完成查询)
NSString * q0 = @“SELECT uid,name,pic FROM user WHERE uid IN(SELECT uid2 FROM friend WHERE uid1 = me())”; NSString * q1 = @“SELECT checkin_id,author_uid,page_id,coords FROM checkin WHERE author_uid IN(SELECT uid FROM#q0)”; NSString * q2 = @“SELECT name,page_id FROM place WHERE page_id IN(SELECT page_id FROM#q1)”;
答案 0 :(得分:0)
SELECT uid,name,pic FROM user WHERE uid IN(SELECT uid2 FROM friend WHERE uid1 = me());