Facebook集成停止工作

Facebook集成停止工作,facebook,Facebook,我已经将facebook整合到一个网站中。我通过facebook和它的一些社交插件实现了登录。一切正常,但现在它在网站的一个页面上停止了工作。在其他页面上,它仍在工作。我在那个页面上有一个登录按钮和评论框。但两者都不起作用。当我点击登录按钮时,并没有弹出窗口显示,评论框并没有显示,而facebook找不到页面显示。我使用了以下代码。首先,我异步连接了facebook <div id="fb-root"> <script> window.fbAsyncInit = functi

我已经将facebook整合到一个网站中。我通过facebook和它的一些社交插件实现了登录。一切正常,但现在它在网站的一个页面上停止了工作。在其他页面上,它仍在工作。我在那个页面上有一个登录按钮和评论框。但两者都不起作用。当我点击登录按钮时,并没有弹出窗口显示,评论框并没有显示,而facebook找不到页面显示。我使用了以下代码。首先,我异步连接了facebook

<div id="fb-root"> <script> window.fbAsyncInit = function() { FB.init({appId: "MY APP ID", status: true, cookie: true, xfbml: true}); FB.getLoginStatus(function(response) { if (response.session) { HERE I am sending parameters to my system to login if user is login with facebook } else { } }); FB.Event.subscribe("auth.login", function(response) { window.location.reload(); }); FB.Event.subscribe("auth.logout", function(response) { here i am sending parameter to my system to logout if user logout from facebook }); }; (function() { var e = document.createElement("script"); e.type = "text/javascript"; e.src = document.location.protocol + "//connect.facebook.net/en_US/all.js"; e.async = true; document.getElementById("fb-root").appendChild(e); }()); 我在评论框中使用了以下代码

<fb:comments xid="" url="" simple="1" css="http://www.mysite.com/css/comment.css?16" width="360" numposts="12"></fb:comments> 并用于登录按钮 其他页面上的相同代码正在运行。有人能找出问题并指导我吗?
提前感谢

Qami-将问题或答案标记为版主注意,仅用于报告需要版主干预的严重问题。感谢Tim提供指导。我这么做是因为这对我来说是一个严重的问题。当你说不同的页面时,你是指不同的子域吗?您是否有任何与.htaccess下的特定页面相关的代码?@ifour,不同的页面意味着同一网站的不同页面。页面的.htaccess规则是RewriteRule^musicvideo/[^/]+/[^/]+/*$plugins/video/player.php?type=musicvideo&artist=$1&title=$Finally获得了解决方案。这是因为在我的文档中两次连接facebook声明。我删除了1,现在一切都正常了 <fb:login-button perms='email' autologoutlink='true'></fb:login-button>