Código HTML:
Ver original<script type="text/javascript"> <!--
function insertFbComment(ele)
{
var url = window.location.href;
var div = document.createElement('div');
div.className = 'fb-comments';
div.setAttribute('data-href', url);
div.setAttribute('data-href', url);
div.setAttribute('data-num-posts', '5');
div.setAttribute('data-width', '470');
ele.appendChild(div);
}
window.onload = function()
{
var body = document.getElementsByTagName('body');
body = body[0];
insertFbComment(body);
};
//-->
<script type="text/javascript"> document.write('
<div class="fb-comments" data-href="'+window.location.href+'" data-num-posts="5" data-width="470"></div>');
te dejo 2 maneras de insertarlo dinamicamente