1

is there a way to make asynchronous batch requests using java sdk? The docs show some examples using curl only. Does anyone have a java example?

    BatchRequest batchRequest = new BatchRequest(context);

    // adding some requests
    request.addToBatch(batchRequest1);
    request.addToBatch(batchRequest2);
    request.addToBatch(batchRequest3);

    List<APIResponse> batchResult = batchRequest.execute(); <-- How to async?
lidox
  • 1,901
  • 3
  • 21
  • 40
  • even im trying to do the same. the documents says async batch can only call the following endpoints: `POST /{ad_campaign_id}/copies, POST /{adset_id}/copies, POST /{ad_id}/copies/`. Did you get any leads on this? – Nelson Sequiera Jul 26 '18 at 07:01

0 Answers0