iphone - Facebook sdk for ios read fan page wall -


I want to read my fan page wall from my iPhone application, how can I do it?

Now I have this code for the Pars Graph API:

  - (IBAction) parsing: (ID) sender {[facebook requestWithGraphPath: @ "PAGE_ID / feed" And DeAlit: Self]; } - (zero) request: (FBCext *) Requested Response Response: (NSRRSpons *) Response {NSLog (@ "Received Response"); } - (Zero) Request: (FBCAEE * *) was requested: (ID) Results {if ([Results is Kindof Class: [NSARRA class]]) {Results = [Results Objectiveindex: 0]; } // NSArray * data = [result objectForKey: @ "data"]; NSArray * from * [resultForKey: @ "from"]; If the (NSDictionary * name) {NSString * myName = [name objectForKey: @ "name"] ([labels2 settext: manneme]]; NSLog (@ " Log in: "My name);}   

but do not work because they do not parse:

The Jason file that I want to parse is:

  {"data": "105744066144184_231235146928408", "to": {"name": "Alberto ####", "id": "1000013568710 ###"}, from ": {" Data ": [{" Name ":" ######## "," Category ":" News / Media "," Id ":" ########## " }]}, "Message": "\ u00e8 ###################### ##### "Type" ":" Status "," Created_time ":" 2011-09-02T18: 30: 59 + 0000 "," Updated-Time ":" 2011-09-02T18: 30: 59 + 0000 "," Like ": {" Data ": [" "name": "Luca #####", "ID": "###########"}], "Count": 1}, "Comments": {"Count" I:  
    

"post-text" itemprop = "text"> < P> Code> NSArray * list = [Results forKey: @ "data"]; for (in the NSDictionary * list Dyke) {NSLog (@ "id:% @", [DIC Valufei: @ "id"]); NSLog (@ "Type:% @", [DIC Valufei: @ "Type"]); If ([[Val Value: @ "Type"] is Avlastostring: @ "Status"] {NSLog (@ "- Message:% @", [DIC Valufei: @ "Message"]); } And if (([[DIC Valaphoriki: @ "Type"] is avatostring: @ "link"]) {NSLog (@ "- link:% @", [DIC Valufei: @ "link"]);} And if ([[DIC ValueEfkeki: @ "Type"] is AvtoStustring: @ "Photo"] {NSLog (@ "- Icon:% @", [DIC Valufei: @ "Icon"]); NSLog (@ "- Message :% @ ", [DIC ValueFor: @" Message "]);} NSLog (@" ------ ");}

adaydesign :) < / Div>

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -