Facebook connect showing blank popup on login in Internet explorer 8

前端 未结 7 2369
鱼传尺愫
鱼传尺愫 2020-12-16 18:40

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.

相关标签:
7条回答
  • 2020-12-16 18:58

    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).

    0 讨论(0)
  • 2020-12-16 19:10

    The custom channel solution provided by @Shameer solved the problem for me. See also the documentation for the Custom Channel URL here: http://developers.facebook.com/docs/reference/javascript/FB.init/

    0 讨论(0)
  • 2020-12-16 19:15

    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.

    0 讨论(0)
  • 2020-12-16 19:15

    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:

    • www.facebook.com
    • staticxx.facebook.com
    • graph.facebook.com
    • s-static.ak.facebook.com

    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.

    0 讨论(0)
  • 2020-12-16 19:17

    If someone is still having problems, there are two things that usually cause fb login problems (it stays open, blank, no response..) in IE:

    1. Missing channelUrl parameter in FB.init.
    2. Protected mode: IE -> Internet Options -> Security tab -> Local intranet -> (check) Enable protected mode
    0 讨论(0)
  • 2020-12-16 19:19

    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 to visibility:hidden or display:none as this will cause the XD Flash not to render.

    0 讨论(0)
提交回复
热议问题