当我使用webdialog进行朋友请求时,一切都很顺利,除了没有请求或任何事情.代码:
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
facebookFriend.id, @"to",
nil];
[FBWebDialogs presentRequestsDialogModallyWithSession:FBSession.activeSession
message:NSLocalizedString(@"FB_FRIEND_INVITE_MESSAGE", @"Facebook friend invite message")
title:NSLocalizedString(@"FB_FRIEND_INVITE_TITLE", @"Facebook friend invite title")
parameters:params
handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {
}];
Run Code Online (Sandbox Code Playgroud)
这是我得到的结果:
fbconnect://success?request=xxxxxxxxxxxx&to%5B0%5D=xxxxxxxx
Run Code Online (Sandbox Code Playgroud)
我怎样才能调试出错的地方?
提前致谢.
范尼