Facebook SDK 3.5 - iOS 5 Access Dialog

Does anyone know if it's possible to use the new Share dialog feature on iOS 5? The official facebook documentation says:

Note. You can test the Share dialog on a device with Facebook for iOS 6.0 or higher. You may also not be able to test this feature while it is in beta phase. **

How many times will this feature remain in beta?

+4
source share
2 answers

The Facebook SDK 3.5 for iOS runs on iOS 5.0 and higher. The Native Share Dialog feature works with OS versions supported by the SDK. The documents actually refer to the version of the Facebook application and, admittedly, are easily mistaken for the OS version. We will clarify the documents in order to avoid further confusion on this issue. Thanks for the question!

+7
source

For ios5 you can use the old web dialog. You can call it something like this:

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"name/title of post", @"name", @"some description", @"description", @"url to link to", @"link", nil]; // Invoke the dialog [FBWebDialogs presentFeedDialogModallyWithSession:nil parameters:params handler: ^(FBWebDialogResult result, NSURL *resultURL, NSError *error) { if (error) { // Error launching the dialog or publishing a story. NSLog(@"Error publishing story."); } else { } }]; 

You can check if your own dialog is available by taking the return value of presentShareDialogModallyFrom: in FBNativeDialogs.

0
source

All Articles