$status = $facebook->api_client->fql_query("SELECT message,time FROM
status WHERE uid in (SELECT uid2 FROM friend WHERE uid1=".$user.")");
echo "<pre>";
print_r($status);
echo "</pre>";
上面的查询返回所有状态,我只想要最后 2 条状态消息。我必须只用 fql 来制作它。谁能告诉我它是怎么做的?
$status = $facebook->api_client->fql_query("SELECT message,time FROM
status WHERE uid in (SELECT uid2 FROM friend WHERE uid1=".$user.")");
echo "<pre>";
print_r($status);
echo "</pre>";
上面的查询返回所有状态,我只想要最后 2 条状态消息。我必须只用 fql 来制作它。谁能告诉我它是怎么做的?