我得到了应用程序请求对话框的代码:
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 中弹出请求对话框,提要对话框也是如此。