获取已安装某些应用程序并已接受给定权限并且是女孩的朋友的fql查询是什么?
这是我到目前为止的查询:
$fql = "SELECT uid, name, pic_square, sex FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me())";
$response = $facebook->api(array(
'method' => 'fql.query',
'query' =>$fql,
));
$this->_helper->json($response);
答案 0 :(得分:1)
试试这个fql查询:
$ fql =“SELECT uid,name,pic_square,sex FROM user WHERE sex ='female' AND uid IN(SELECT uid2 FROM friend WHERE uid1 = me())“;