Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook FQL Query (#601) Parser error: unexpected '_52096' at position 133
    primarykey
    data
    text
    <pre><code>- (void)getPhotosForAlbumId:(NSString *)albumId andUserIdentifier:(NSString *)userId { NSString *ob = userId != nil?userId:@"me()"; NSString *query = [NSString stringWithFormat: @"SELECT pid,src,src_big,src_big_width,src_big_height, src_small_width, src_small_height,created FROM photo WHERE aid = %@ and owner = %@", albumId, ob]; // Set up the query parameter NSDictionary *queryParam = [NSDictionary dictionaryWithObjectsAndKeys:query, @"q", nil]; // Make the API request that uses FQL [FBRequestConnection startWithGraphPath:@"/fql" parameters:queryParam HTTPMethod:@"GET" completionHandler:^(FBRequestConnection *connection, id result, NSError *error) { if (error) { NSLog(@"Error: %@", [error localizedDescription]); } else { NSLog(@"Result: %@", result); NSArray *data = [result objectForKey:@"data"]; } }]; } </code></pre> <p>I have this error:</p> <pre><code>&gt;error:Error Domain=com.facebook.sdk Code=5 "The operation couldn’t be completed. (com.facebook.sdk error 5.)" UserInfo=0xd16a20 {com.facebook.sdk:ErrorSessionKey=&lt;FBSession: 0xdf4f20, state: FBSessionStateOpen, loginHandler: 0xdf52a0, appID: 446665702078325, urlSchemeSuffix: , tokenCachingStrategy:&lt;FBSessionTokenCachingStrategy: 0xf1c34c0&gt;, expirationDate: 2013-05-31 11:29:38 +0000, refreshDate: 2013-04-01 11:29:38 +0000, attemptedRefreshDate: 0001-12-30 00:00:00 +0000, permissions:( "friends_photos", "user_photos" )&gt;, com.facebook.sdk:ParsedJSONResponseKey=&lt;CFBasicHash 0xd74560 [0x3f721650]&gt;{type = mutable dict, count = 2, entries =&gt; 1 : &lt;CFString 0x6b2968 [0x3f721650]&gt;{contents = "code"} = &lt;CFNumber 0xd74590 [0x3f721650]&gt;{value = +400, type = kCFNumberSInt32Type} 2 : &lt;CFString 0x6aa5e8 [0x3f721650]&gt;{contents = "body"} = &lt;CFBasicHash 0xd2caa0 [0x3f721650]&gt;{type = mutable dict, count = 1, entries =&gt; 11 : &lt;CFString 0xd51570 [0x3f721650]&gt;{contents = "error"} = &lt;CFBasicHash 0xd14880 [0x3f721650]&gt;{type = mutable dict, count = 3, entries =&gt; 2 : &lt;CFString 0xd2cad0 [0x3f721650]&gt;{contents = "type"} = &lt;CFString 0xd121c0 [0x3f721650]&gt;{contents = "OAuthException"} 3 : &lt;CFString 0xd15dc0 [0x3f721650]&gt;{contents = "message"} = &lt;CFString 0xd13120 [0x3f721650]&gt;{contents = "(#601) Parser error: unexpected '_52096' at position 133."} 6 : &lt;CFString 0xd26720 [0x3f721650]&gt;{contents = "code"} = 601 }}}, com.facebook.sdk:HTTPStatusCode=400} </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload