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.
source share