I have recently come across the same hanging ‘XD Proxy’ in all browsers when attempting to login through a public site via Facebook Connect and only experienced this the day before yesterday.
When attempting to login normally via Facebook Connect button via the ‘Log In’ button, we encounter the hanging dialog popup at the address bar.
The url at the address bar of the XD Proxy popup is follows:
The following is a code snippet is my ‘Init’ code:
$(document).ready(function () {
window.fbAsyncInit = function () {
FB.init({
appId: ConfigAppID, // App ID
channelURL: '//exampleurl/channel.html', // Channel File (note I have not put http: or https: here as this was suggested by a user on the facebook bug forum pertaining to this issue
status: true, // check login status
cookie: true, // enable cookies to allow the server to access the session
oauth: true, // enable OAuth 2.0
xfbml: true // parse XFBML
});
// Additional initialization code here
};
// Load the SDK Asynchronously
(function (d) {
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) { return; }
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_GB/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
} (document));
});
My auth code snippet is a follows:
<input type="image" src="assets/images/btn_enter.gif" class="button" value="Enter Competition" onclick="fb_authorise()" />
Definition of fb_authorise() is as follows:
function fb_authorise() {
FB.login(function (response) {
if (response.authResponse) {
console.log('fb_authorise() - authorsied ');
window.top.location.href = 'www.facebook.com/pages/exampleTestPage/171655142343955?sk=app_242716140284588';
} else {
console.log('fb_authorise() - not authorsied');
}
}, { scope: 'email' });
return false;
}
I can 100 percent confirm my code has no hacks or workarounds (this code was always working until about 2 days ago)
After applying the code snippet above, I cleared my browser cache to ensure that all resource is reloaded by the browser (a suggestion by a facebook user on the facebook bug forum), however I am still getting the hanging dialog.
We are experiencing this issue (hanging popup) on all browsers.
Has anyone found a solution for this? I know there is already a support person at Facebook looking into the issue as of 9 February 2012. But any earlier suggestions of a permanent fix is welcomed as we require an urgent fix!!!
that happened to me once and I took out the channelUrl and it fixed it