0
Facebookのコメントモジュールに問題があります。 パソコンによって別のパソコンやFacebookアカウントから別のアカウントに提供されるコメントに違いがあります。 他のアカウントには他のコメントが表示されます。コメントはすべてのコンピュータで表示されません(Facebookのコメント)
<script src="http://connect.facebook.net/ar_AR/all.js#appId=myappid&xfbml=1"></script>
<fb:comments width="550" notify="true" migrated="1"></fb:comments>
<br />
<%-- <p><fb:login-button autologoutlink="true"></fb:login-button></p>--%>
<p><fb:like></fb:like></p>
<div id="fb-root">
</div>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({ appId: 'myappid', status: true, cookie: true,
xfbml: true
});
// FB.Event.subscribe('comments.create', function (response) {
// // do something with response.session
// alert("add comment");
// });
FB.Event.subscribe('comment.create', function (response) {
//alert(response.commentID);
});
FB.Event.subscribe('comment.remove', function (response) {
// do something with response.session
alert("thank you for remove comment");
});
};
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol +
'//connect.facebook.net/ar_Ar/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>