我有一个 fql 查询:
{"e426262700718049":"SELECT name, start_time, location, creator, pic_square FROM event WHERE eid=426262700718049","c426262700718049":"SELECT name FROM profile WHERE id IN (SELECT creator FROM #e426262700718049)"}
在 Graph Api Explorer 中它工作得很好,但 sdk 只返回空数组。对于不同的查询,它工作得很好。
这就是我实现它的方式:
public function mquery($queries)
{
$params = array(
'method' => 'fql.multiquery',
'queries' => $queries
);
return $this->getFb()->api($params);
}
任何的想法?:)