Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Running multiple FQL queries #39

raffael opened this Issue · 1 comment

2 participants


With the new changes in the Graph API, FQL queries can now be made using the instead of The sendFQLRequest should be rewritten to implement that change.

Additionally, multiple queries can now be executed at once using braces notation:{"user+info":"SELECT … ","photo+info":"SELECT …"}

Currently, sending requests containing {, } or _ (Space) with PhFacebook result in empty result strings. To fix that, the following code can be used:

NSString *fqlQuery = @"fql?q={\"...\":\"…", ...}";
NSString *properlyEncodedString = [fqlQuery stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding];

The properlyEncodedString now results in correct Graph results.


If you have a code fix that can allow both single and multiple queries at the same time, send a pull request and I'll review it. Thanks!

@philippec philippec closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.