0
可能重复:
Fb.UI Dialogs are displaying in Popups instead of an iframe应用程序请求对话框,在新窗口中弹出窗口
我得到了应用程序请求对话框验证码:
FB.ui({
method: "apprequests",
message: "You have a gift! Click accept to see what it is!",
data: gift, //This will be passed back to you when a user accepts the request
title: "Send "+giftname+" to 50 friends!"
},
function(response) {
if (response && response.request_ids) {
alert('Your gift has been sent!');
} else {
alert('You must select some friends to send gifts to!');
}
});
而且好像该对话框将在新窗口中打开。我不想要这个,我想在Facebook风格的POPUP中弹出请求对话框,与提要对话框一样。
如果两个问题具有相同的答案,请不要同时回答它们,而是投票将其中的一个作为副本进行投票。 – Gilles
好吧,我投了票。通常FB帖子没有得到足够的重复投票来关闭。 – bkaid