I'm currently using code that is virtually identical to the example from Facebook's documentation for posting to a user's wall using presentFeedDialogModallyWithSession.
Is there a way to associate a URL with the "caption" parameter that gets sent up with the post, or can it only be displayed as static text?
- (IBAction)publishButtonAction:(id)sender {
// Put together the dialog parameters
NSMutableDictionary *params =
[NSMutableDictionary dictionaryWithObjectsAndKeys:
@"Facebook SDK for iOS", @"name",
//----------------------------------------------------
// can we add a URL for the caption parameter here?
@"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
[FBWebDialogs presentFeedDialogModallyWithSession:nil
parameters:params
handler:
^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {
// handle the result...
}];
}
The documentation does not seem to indicate a way to do this, but just wanted to check and see if maybe I was missing a detail that was not readily apparent from the docs.
Thanks in advance...