Class BatchRequest.BatchRequestBuilder

java.lang.Object
com.restfb.batch.BatchRequest.BatchRequestBuilder
Enclosing class:
BatchRequest

public static class BatchRequest.BatchRequestBuilder
extends Object
Builder pattern implementation used to construct instances of BatchRequest.

See the Facebook Batch API documentation for more details on what a batch request looks like.

Since:
1.6.5
Author:
Mark Allen
  • Constructor Details

    • BatchRequestBuilder

      public BatchRequestBuilder​(String relativeUrl)
      Creates a batch request builder using the provided FB endpoint.

      You can explicitly specify URL parameters here, or use parameters(Parameter...) instead if you prefer to have the query string constructed programmatically.

      Parameters:
      relativeUrl - The endpoint to hit, for example "me/friends".
  • Method Details