The GraphRequestManager queue requests the Facebook Graph API and executes it when told to do so.
It has access to the following methods:
- addRequest: This is a function that accepts an instance of GraphRequest and pushes the request into the queue of GraphRequestManager. It also pushes the callback into a separate requestCallbacks queue for execution once the request has been completed or failed.
- addBatchCallback: This accepts an optional callback to be executed once the entire batch of requests has been completed. Each instance of GraphRequestManager can only accept up to one callback, and the invocation of that callback does not indicate that every graph request in the batch was successful--the only thing it is indicative ...