iphone facebook user's friends status updates -


I want to retrieve published status data published by the user's friends. I have written the following code, but only get the user's own status update Can anyone tell me what is wrong with my code? Thanks! Select

  NSString * fql = [NSString stringWithFormat: @ "uid, Message from status where uid (Select UID2 from buddy where UID1 =% lld) based on time Order ", uid]; NSDictionary * params = [object with NSDictionary dictionary: Fakil Farke: @ "query"]; [[Delegate with FBRAccount request: Self] Call: @ "facebook.Status.get" parameter: Parameters];  

You must change the call to use "facebook.fql.query" , Because you are doing a direct query.

Here's my code to get the last 20 friend updates:

  NSString * fql = [NSString stringWithFormat: @ "SELECT uid, pic_square, name, status from user Where (friend choose UID 2 UID 1 =% LLDE) and status.time time from date; DESC limit 20 ", fbSession.uid]; NSDictionary * params = [object with NSDictionary dictionary: Fakil Farke: @ "query"]; Last 20 Frastestats Requests = [with FBBACC Request Predict: Self]; [Last 20 freeststats rickshaw call: @ "Facebauge FQ.Quree" parameter: Parameters];  

Best regards,


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -