iPhone facebook connect FQL Query to get Profile URL.
Posted
by user306641
on Stack Overflow
See other posts from Stack Overflow
or by user306641
Published on 2010-05-27T13:46:49Z
Indexed on
2010/05/27
14:01 UTC
Read the original article
Hit count: 379
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.
© Stack Overflow or respective owner