Facebook登录按钮都会消失。所有其他浏览器都可以。 IE仅在第一次刷新时显示该按钮使其消失。
我正在使用facebook连接下面的代码
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({appId: '193048084076885', status: true, cookie: true, xfbml: true});
};
(function() {
var e = document.createElement('script');
e.src = document.location.protocol +
'//connect.facebook.net/tr_TR/all.js';
e.async = true;
document.getElementById("fb-root").appendChild(e);
}());
</script>
和fb按钮
<fb:login-button v="2" size="medium" length="long" perms="email, user_about_me, user_birthday, user_education_history, user_hometown, user_interests, user_location, user_photos"></fb:login-button>
你知道任何解决方法吗?谢谢。
答案 0 :(得分:3)
我找到了解决方案,将其放在头部上方。
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">