I can use FQL multiquery in batch request? I have not found examples in google.
I run this query
[{\"method\":\"GET\",
\"relative_url\":\"fql?q=
{\"posts\":\"SELECT post_id, actor_id, source_id, target_id, message, created_time FROM stream WHERE source_id = ... LIMIT 0, 10\"}\,
{\"users\":\"SELECT uid, name FROM users WHERE uid IN (SELECT actor_id FROM #posts) LIMIT 0, 10\"}
\"}]
But in response I get:
HttpResponse: 400: {"error":{"message":"batch parameter must be a JSON array","type":"GraphBatchException"}}
The Batching feature returns this message when you submit a batch of size 1. For instance
gives the same error, whereas
works as expected.
The following works for me: