iPhone facebook connect FQL Query to get Profile URL.
- by user306641
Hai.
I am using Face book Connect FQL Queries to extract my profile photo url that is src_big,src_small URL.
But i am always getting the empty array in below delegate
(void)request:(FBRequest*)request didLoad:(id)result
My FQL query is.
NSString* fql = [NSString stringWithFormat:@"SELECT src_big,src_small FROM photo WHERE pid IN (SELECT cover_pid FROM album WHERE owner =%lld AND name ='Profile Pictures')", session.uid];
NSDictionary* params = [NSDictionary dictionaryWithObject:fql forKey:@"query"];
[[FBRequest requestWithDelegate:self] call:@"facebook.fql.query" params:params];
But - (void)request:(FBRequest*)request didLoad:(id)result always return the empty result.
Can any one please correct me if there any mistake.