1
Hi!
I want add Facebook Comments in my Xoops News modules. (http://developers.facebook.com/docs/reference/plugins/comments)
But that don't work.
I've see this website :
http://ideologi.my/v3/modules/AMS/article.php?storyid=6but it's with AMS module.
1) i have an application ID for my website : 182045851815400
2) in modules/news/templates/news_item.html : i have had this code :
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=182045851815400&amp;xfbml=1"></script>
<fb:comments width="500" title={$story.news_title} notify="true" reverse="0" publish_feed="1"></fb:comments>
3) In themes/modern_red i have had like this (http://developers.facebook.com/docs/reference/javascript/) :
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: '182045851815400', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
Anybody can help me please?
Thank you.
Before i have find this :
https://xoops.org/modules/newbb/viewtopic.php?viewmode=compact&topic_id=72596&forum=4 but don't work.
Sorry for my bad english, i'm french