I call it:
facebook requestWithGraphPath: @ "me / friends" and Delegate: self]
Now am I confused that facbook is returning to me as a delegate?
How should I parse this in a request (void): (FBRequest *) request didLoad: (id) result method? Does it come back like a dictionary?
Yes, I think this is always a dictionary. Here is a sample code to handle the call to "me / friends":
for (NSDictionary *friendData in [result objectForKey:@"data"]) { id friendId = [friendData objectForKey:@"id"]; // Extract other information about the friend }
Source: https://habr.com/ru/post/1771415/More articles:Twitter Oauth Delphi 7 home_timeline gets 401 unauthorized access - oauthCss position relative to image - cssHow can I make a custom calling convention in C? - cЕсли я часто заказываю o.creationDate - должен ли я отмечать createDate с @Index? - sqlcompiler error: "The cursor cannot be resolved to a type" - javaFbconnect API response on iPhone - iosThe best way to generate a path template for materialized path tree structures is materialized-path-patternPremature exit of dispatch_asycn, Grand Central Dispatch - multithreadingRails, Rackspace Cloud Files, Referrer ACLs - ruby-on-railsHTML message "opens" is not tracked - c #All Articles