用于检索已安装应用程序的朋友的fql

时间:2012-02-09 23:31:52

标签: php jquery facebook facebook-fql

获取已安装某些应用程序并已接受给定权限并且是女孩的朋友的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);

1 个答案:

答案 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())“;