我有一个应用程序,使用Facebook身份验证。用户在使用任何现代浏览器时都没有问题。用ie 7 & 8发生以下情况 -Facebook的连接 - 互联网浏览器7和8 - 登录问题 - 登录后的空白屏幕 - fb_xd_fragment
用户单击登录按钮。 弹出facebook登录窗口 用户输入他们的详细信息并点击提交。 的弹出仍然开放,去到一个空白页这个网址 - https://my-app.heroku.com/channel.html?fb_xd_fragment#?=LotsOfRandomUrlParamaters
我的代码看起来是这样的 -
<div id="container" class="facebook_tab" >
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({
appId : 'myappid',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true, // parse XFBML
oauth : false,
channelUrl : 'https://my-app.heroku.com/channel.html'
});
var e = document.createElement('script');
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
这是使用这种宝石一个Rails应用程序 - https://github.com/fionnbharra/facebooker2 - 但我不认为这是问题的原因。
用于genertae是登录按钮Rails代码看起来是这样的 -
<%= fb_login(:text=>"Log in") do %>
top.location.href='<%= APP_CONFIG[:my_app_url] %>';
<% end %>
任何人有任何想法是怎么回事?