I am integrating facebook login to my application and it is working fine in browsers except IE. It opens the login window, after login redirecting to http://static.ak.fbcdn.net/connect/xd_proxy.php, and got stuck there displaying a blank page in the popup. In other browsers it will close the popup and redirect to my site. My application url is like http://dev.mysite.com/app/
. so I have given the domain name dev.mysite.com
in facebook application settings. I am using facebook javascript sdk and my site is in PHP. Some one please help me to figure out the actual problem.
Thanks in advance
If someone is still having problem with this, the easiest fix is to use the latest API from http://code.google.com/p/facebook-actionscript-api/ and publish the .swf for Flash Player 10 (this is the most important part).
I have solved the issue by giving
channelUrl
parameter in FB.init . Now its working fine. Given absolute url to channel receiver. Content of that file will be a single line<script src="http://connect.facebook.net/en_US/all.js"></script>
. Thanks to all :) `See this bug report : IE8, getLoginStatus never completes when flash XD is used - it sounds like it might be what you are experiencing.
In that case, make sure that your
fb-root
div is not being set tovisibility:hidden
ordisplay:none
as this will cause the XD Flash not to render.If you use an AdBlocker such as Privacy Badger (which I use and love), it may by default block some external urls like Facebook when opened in a popup window, resulting in a blank screen.
Simply disable Privacy Badger (or other extension) for that page, or go into the settings and make sure not to block the following urls:
That should do it (hopefully)!
Extra tip but beside the point; I found that it's generally ok to not allow cookies from those URLs, so long as your not blocking the request then the Facebook popup should still work. It's probably good to try out your app using different setups.
Sometimes this happens because of cookies , try to clear cookies.And its not just the problem in IE , its also problem in other browsers.If you test your app again you'll face it. The best option for it is to use php api , it will take you to the facebook page user will enter credentials and it will send back you to your site again , with string embedded in your url.This is best way without any harm.And easy to implement.
If someone is still having problems, there are two things that usually cause fb login problems (it stays open, blank, no response..) in IE:
channelUrl
parameter inFB.init
.