Developer news
New Batch API

The batch API allows you to combine multiple individual operations into a single request. This will significantly improve your application latency and reduce traffic load on Facebook servers. We have also updated our PHP5 client library to make using the batch API easier. Here is an example that calls the Facebook API in no-batched mode,

$friends = $api_client->friends_get();
$notifications = $api_client->notifications_get();

The above code can be rewritten to use the batch API as follows:

$friends = & $api_client->friends_get();
$notifications = & $api_client->notifications_get();

We’d encourage developers to try it out and send us feedbacks. To learn more about the batch API check out the documentation at