Send to a friend wall iOS SDK 3.1

According to the Facebook Developers Roadmap ( https://developers.facebook.com/roadmap/ ), they say that we won’t be able to send messages to a friend’s wall except using the “Feed” dialog, but the feed dialog is deprecated on iOS SDK 3.1

What is the best way to go in my case? I need a user to select his friends list, and then send a link to their wall.

Thank you in advance

+1
source share
2 answers

You can use the feed dialog. I think the FB will have to do this. My applications now use them well.

https://developers.facebook.com/docs/howtos/feed-dialog-using-ios-sdk/

- (IBAction)publishButtonAction:(id)sender { // Put together the dialog parameters NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"Facebook SDK for iOS", @"name", @"Build great social apps and get more installs.", @"caption", @"The Facebook SDK for iOS makes it easier and faster to develop Facebook integrated iOS apps.", @"description", @"https://developers.facebook.com/ios", @"link", @"https://raw.github.com/fbsamples/ios-3.x-howtos/master/Images/iossdk_logo.png", @"picture", nil]; // Invoke the dialog [self.facebook dialog:@"feed" andParams:params andDelegate:self]; // (here another typical example of how to call that...) [FBWebDialogs presentFeedDialogModallyWithSession: YourFBSessionClass.activeSession parameters: params handler: nil]; } 
+1
source

Take a look at my question Failed to post to friends on Facebook using Social Framework in iOS 6

In the end, I sent an invitation to friends of Facebook friends using my facebook username ( username@facebook.com ) by email

0
source

Source: https://habr.com/ru/post/953107/


All Articles