开发者

FaceBook FQL issue while extracting album name in Iphone

I have 3 albums in my Face Book account.

  1. profile
  2. NaturePhoto
  3. Profile Pictures

when i use below FQL Query the "request:didLoad:" delegate return the empty array.

 NSString* fql =[NSString stringWithFormat:@"SELECT cover_pid,name FROM album WHERE owner == %lld", session.uid]; 

NSDictionary* params = [NSDictionary dictionaryWithObject:fql forKey:@"query"];

[[FBRequest requestWithDelegate:self] call:@"facebook.fql.query" params:params];

I a开发者_JAVA百科m really struck in Face book FQL.


It should be = not ==

A query for the current authenticated user would be

 SELECT cover_pid,name FROM album WHERE owner = me()

Which returns a correct response

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜