我想获取用户朋友的总页数
当我应用低于它的 fql 句子时,它在fql explorer上效果很好。
SELECT
uid,
name,
likes_count
FROM user
WHERE uid IN (SELECT
uid1,
uid2
FROM friend
WHERE uid1=me())
但是,当我用 php 做同样的事情时,它不会显示 likes_counts。
php代码:
$fql= 'SELECT uid, name, likes_count FROM user WHERE uid IN (SELECT uid1, uid2 FROM friend WHERE uid1=me())';
$ret_obj = $facebook->api(array(
'method' => 'fql.query',
'query' => $fql,
'access_token'=> ''.$fbme[access_token].''
));
print_r($ret_obj);
php结果:
我怎样才能显示like_counts?