I use:
if ([FBSDKAccessToken currentAccessToken]) { [[[FBSDKGraphRequest alloc] initWithGraphPath:@"/v2.3/ID/feed" parameters:nil] startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection, id result, NSError *error) { if (!error) { NSLog(@"fetched user:%@", result); } }]; }
This gives me a JSON string from ALL data (AND I MEAN ALL) from the Facebook page. He gives me messages, identifiers of those who like messages, every comment, every person who shared. I really need the record itself, which is indicated as a "message" as a result of JSON. Is there a way to do this in an API call, or does it need to be done after?
Also, is there a way to get it to pull out the images associated with each message? I know how to get photos posted on a page, but I just want to view the messages taken on the page and make them also pull up the image.
json ios facebook facebook-graph-api
user717452
source share