可能重复:
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 Styled POPUP中弹出请求对话框,与feed对话框一样。