0

今天,当我在我的网页中单击 facebook 登录时,对话框像往常一样弹出,但是在我单击确定后,弹出窗口卡在带有 url 的空白页面

https://www.facebook.com/dialog/oauth?app_id= {appid}&client_id={client id}&display=popup&domain={domain}&e2e=%7B%7D&locale=en_US&origin=1&redirect_uri=http%3A%2F%2Fstatic .ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D29%23cb%3Df2356881fe8e6bc%26domain%3D{domain}%26origin%3Dhttp%253A%252F%252F{domain}%252Ff1d6980bbb127d2%26relation%1743%26framedef8&8 =token%2Csigned_request&scope=email%2Cpublish_stream&sdk=joey

它没有自动关闭并重定向到我的网页。

在这个空白页面弹出窗口中,查看源代码并查看一些 js: var message = "cb=f1a6be948fefda&domain={domain}&origin=http\u00253A\u00252F\u00252Fjebsenwine.dev.cleargo.com\u00252Ffe2018a8b499c4&relation=opener&frame=f7e1c0c923}2fd2&access token={ &base_domain=", origin = "http://{domain}", domain = "{domain}"; document.domain='facebook.com';(function(){var a=window.opener||window.parent,b='fb_xdm_frame_'+location.protocol.replace(':','');function c( ){try{a.frames[b].proxyMessage(message,origin);}catch(e){setTimeout(c,100);}}function d(){_ fbNative.postMessage(message,origin);}如果(window==top&&/FBAN/\w+;/i.test(navigator.userAgent)){if( window._fbNative&&__fbNative.postMessage){d();}其他窗口。

有人面临同样的问题吗?

4

1 回答 1

1

更新或其他东西有一些错误。Javascript SDK 不能很好地运行。- https://developers.facebook.com/x/bugs/482108261888889/

于 2014-02-06T04:00:46.753 回答