Comment integration with Facebook iOS SDK (iPhone)

I have implemented the iOS API API / SDK for Facebook in the application and it works great. I, for example. able to read the name of a registered user, etc.

So the question is:

I have several view controllers with videos in it. A user has registered with his Facebook account and must be able to post a comment or like a video. Other users should be able to see previous comments in a list.

I have already created the Facebook application on Facebook.com .

What should I do next? Do I have to create some “lists” on Facebook.com that I can get and display via the Facebook API ?

thanks

0
source share
2 answers

Check out this guide for facebook on iphone

EDIT: Well, about the list, I think it would be better if you save it on a user device (or, preferably, in a remote database), because tracking user comments specific to your application via facebook is too cumbersome (I'm not familiar with an FB API that returns a list of comments for a specific application, so also check this)

Posting to the Users Wall is easily and clearly explained here (Goto "Publishing to the Users Wall" somewhere in the middle of the page),

0
source
 NSMutableDictionary *res = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"This is my comment", @"message", YOUR ACCESS TOKEN,@"access_token",nil]; [FBRequestConnection startWithGraphPath:[NSString stringWithFormat:@"%@/comments",PHOTO ID] parameters:res HTTPMethod:@"POST" completionHandler:^(FBRequestConnection *connection, id result, NSError *error) { if (error) { NSLog(@"error: %@", error.localizedDescription); } else { NSLog(@"ok!! %@",result); } }]; 
+1
source

All Articles