PHPackages                             fgrochal/fbbatch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. fgrochal/fbbatch

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

fgrochal/fbbatch
================

Facebook Batch Requests class wrapper

2221PHP

Since Aug 22Pushed 12y agoCompare

[ Source](https://github.com/fgrochal/fb-batch-requests)[ Packagist](https://packagist.org/packages/fgrochal/fbbatch)[ RSS](/packages/fgrochal-fbbatch/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

FbBatch
=======

[](#fbbatch)

La clase FbBatch te permite hacer uso de Facebook Batch Requests de manera muy sencilla. Que es Facebook Batch Requests?

> The standard version of the Graph API is designed to make it really easy to get data for an individual object and to browse connections between objects. It also includes a limited ability to retrieve data for a few objects at the same time.

> If your application needs the ability to access significant amounts of data in a single go - or you need to make changes to several objects at once, it is often more efficient to batch your queries rather than make multiple individual HTTP requests.

> To enable this, the Graph API supports Batching. Batching allows you to pass instructions for several operations in a single HTTP request. You can also specify dependencies between related operations (described in a section below). Facebook will process each of your independent operations in parallel and will process your dependent operations sequentially. Once all operations have been completed, a consolidated response will be passed back to you and the HTTP connection will be closed.

Mas info: .

Obtener fuentes con composer
----------------------------

[](#obtener-fuentes-con-composer)

```
{
    "require": {
      "fgrochal/fbbatch": "dev-master"
    }
}
```

Ejemplos
--------

[](#ejemplos)

#### Multiples llamadas

[](#multiples-llamadas)

```
