当用户提交时,Facebook FB.UI apprequests弹出窗口没有关闭?

时间:2011-03-05 22:37:12

标签: facebook dialog

我正在使用FB.UI()javascript sdk来显示apprequests窗口,以允许用户选择要发送请求的朋友。通常这会在当前页面的模式中“弹出”,并且工作正常,它正确地将request_ids返回到原始页面上的javascript。但偶尔(随机?)弹出窗口显示为一个完全像新模式弹出窗口的新窗口,除了单击发送请求时,弹出窗口重定向到http://static.ak.fbcdn.net/connect/xd_proxy.php?version=0 ....并保持打开状态为空白包含此内容的页面:

<!doctype html>
<html>
  <head>
    <title>XD Proxy</title>
  </head>
  <body onload="doFragmentSend()">
    <div
      id="swf_holder"
      style="position: absolute; top: -10000px; width: 1px; height: 1px">
    </div>
    <script>
var XdCommUrl = "http:\/\/static.ak.fbcdn.net\/rsrc.php\/v1\/yF\/r\/Y7YCBKX-HZn.swf";var AllowFbCom = false;
/**
 * For "proxying" in-browser messages for Connect.
 *
 * @author naitik
 */
/**
 * Resolve a id back to a node. An id is a string like:
 *    top.frames[5].frames['crazy'].parent.frames["two"].opener
 *
 * @param   id {String}   the string to resolve
 * @returns    {Node}     the resolved window object
 * @throws  SyntaxError   if the id is malformed
 */ ...

页面上还有更多内容。但重点是弹出窗口保持打开状态。如果你手动关闭窗口,javascript代码会再次成功启动,但是没有“返回数据”,就像有一个模态popoup一样。

有什么想法吗?

谢谢, 菲利普

0 个答案:

没有答案
相关问题