Facebook platform is really not friendly with IEs browsers and I'm sure that a lot of developers have many difficulties in IE while working with Facebook.
Recently I've faced a troubles in IE7 and IE8 while calling method FB.login();
Authentication popup appears but after that security error popup is shown with text like:
Message: Permission denied
Line: 22
Char: 4250
Code: 0
URI: https://connect.facebook.net/en_US/all.js
In other browsers everything works fine.
There is a hack that allows to avoid this error in IE. It is necessary to add some piece of code after calling FB.init() on client side:
FB.init({
appId: 'xxxxx',
appSecret: 'xxxxxxxxx',
status: true
cookie: true
});
// this code solves the issue
FB.UIServer.setLoadedNode = function (a, b) {
FB.UIServer._loadedNodes[a.id] = b;
};
The trouble is described in Facebook Bugzilla: http://bugs.developers.facebook.net/show_bug.cgi?id=20168
Hope, it will be fixed by Facebook soon.
Thank you very much for this. I will be linking this on a StackOverflow opened question.
ReplyDeleteA very impressive post with a lot of insight and helpful your tutorial for me . Good job.
ReplyDeletenode js developer london
Excellent ! I am truly impressed that there is so much about this subject that has been revealed and you did it so nicely
ReplyDeleteThanks
Anika Digital Media
seo services
web design development
graphic design
sampaikan kepada Anda panduan bermain permainan ini khusus untuk pemula. Berikut adalah panduan bermain yang admin janjikan kepada Anda
ReplyDeleteasikqq
dewaqq
sumoqq
interqq
pionpoker
bandar ceme terpercaya
hobiqq
paito warna terlengkap
bocoran sgp
Thanks for sharing an interesting blog that made me understood about the Website Design Dubai also get it at affordable price.
ReplyDeletethis is a great article about vapes in kampala
ReplyDelete