今天我在网页上点击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 {域}%26origin%3Dhttp%253A%252F%252F {域}% 252Ff1d6980bbb127d2%26relation%3Dopener%26frame%3Df17ee4a3b5fd2e8&安培; RESPONSE_TYPE =记号%2Csigned_request&安培;范围=电子邮件%2Cpublish_stream&安培; SDK =乔伊
它没有自动关闭并重定向到我的网页。
在此空白页面弹出窗口中,查看源代码并查看一些js: var message =“cb = f1a6be948fefda& domain = {domain}& origin = http \ u00253A \ u00252F \ n \ n \ nFjebsenwine.dev.cleargo.com \ u00252Ffe2018a8b499c4& relation = opener& frame = f7e1c0c9232fd2& access_token = {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) ;}如果(窗口==顶部&安培;&安培; / FBAN / \ W +; / i.test(navigator.userAgent的)){如果(窗口 _fbNative&安培;&安培; __ fbNative.postMessage){d();} else window.addEventListener('fbNativeReady',d);} else c();})();
任何人都面临同样的问题?
答案 0 :(得分:1)
有一些更新或其他错误。 Javascript SDK无法正常运行。 - https://developers.facebook.com/x/bugs/482108261888889/