When working on an application that deals with Facebook API, if the application needs the ability to access significant amounts of data in a single go - or you needs to make changes to several objects at once, it is often more efficient batch your queries rather than make multiple individual HTTP requests.
Questions tagged [facebook-batch-request]
54 questions
0
votes
1 answer
Facebook: field expansion in batch requests?
Is it possible to make a batch request with one (or more) of the batched requests using field expansion?
For instance, say I'd like information about me, my listen data. These are the three batch requests I wrap up:
{'method': 'GET', 'relative_url':…

Loisaida Sam Sandberg
- 523
- 5
- 15
0
votes
1 answer
Facebook Graph - What is the limit to send private messages from page to users?
I am developing a chat robot that works with private messages on facebook. The person sends a private message to a page that I own, and then I will send an answer for each message.
Everything is working, but I need to be sure facebook won't complain…
user2236330
0
votes
1 answer
Posting on multiple friend's wall using Facebook 3.0 after the Feb 6th change
I have found here that we can use Batch rqeuest to post on multiple friend's wall and I have tried to do so using graph API.But I got the following error.But I can post with feed dialog to single user.As of Feb 6th Facebook no longer allows us to…

user1767260
- 1,543
- 8
- 26
- 51
0
votes
1 answer
How to get Request IDs from Facebook Batch Request using PHP
To avoid overloading the API requests I am using Facebook Batch API to send app-to-user requests:
$access_token = MYAPPSACCESSTOKEN;
foreach($myusers as $user) {
$body = array(
'access_token' => $access_token,
'template' =>…

wiseguydigital
- 315
- 2
- 6
- 15
0
votes
1 answer
Error with photo upload batch request + multi users
I have application with publish_stream that I can post status updates on my users walls, now I want to post photos, after searching I read about batchrequest and made my code like that

Ahmed Atef
- 55
- 1
- 8
0
votes
4 answers
Facebook Graph API - Batch Request for large profile pictures
Trying to grab all of the users Facebook friends information which I can successfully do via a batch request:
NSString *jsonRequest1 = @"{ \"method\": \"GET\", \"relative_url\": \"me/friends?fields=name,picture\" }";
NSString *jsonRequestsArray =…

user1168056
- 401
- 8
- 19
0
votes
3 answers
Facebook SDK 3.0 for iOS: Can't set omit_response_on_success for batch requests
It seems for batch requests, all the parameters are escaped as parts of relative_url, if omit_response_on_success is set to @(false), app will crash with this message: -[__NSCFNumber length]: unrecognized selector
NSDictionary *parameters =…

Tao
- 289
- 1
- 4
- 13
0
votes
1 answer
facebook batch request to get all the photos
I want to get all the photos of the user who gave permission to the app. Currently, I tried single and batch request of Graph API but it always paginates the results. Is there a seamless way to get all the objects without following pages?
ps: I'm…

user862530
- 89
- 1
- 5
0
votes
1 answer
Is batching queries to FQL with per-request access_tokens not allowed? It isn't working
Is it not possible to batch query the graph using 'method/fql.query?query=...' using multiple access tokens?
I have never had trouble in the past batch querying non-fql endpoints with multiple access tokens, but with batch querying FQL calls, only…

stantonk
- 1,922
- 1
- 18
- 24