我正在使用FB iOS SDK邀请朋友加入我的应用。我可以使用FBWebDialog发布显示在收件人通知中的“邀请”。该链接然后将该收件人重定向到我的应用程序的Facebook应用程序页面。 FB应用程序页面当前嵌入了我的网站。
[FBWebDialogs presentRequestsDialogModallyWithSession:nil
message:@"Try this app called ..."
title:@"Invite to ..."
parameters:params
handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {
if (error) {
// Case A: Error launching the dialog or sending request.
NSLog(@"Error sending request.");
} else {
if (result == FBWebDialogResultDialogNotCompleted) {
// Case B: User clicked the "x" icon
NSLog(@"User canceled request.");
} else {
NSLog(@"Request Sent.");
}
}}];
在一个完美的世界中,我想将一个参数传递给应用主页,这样我就可以重定向到我网站中的合适详细信息页面。这可能吗?
由于