The website I am working on consists of a list of items dynamically loaded via AJAX. As you scroll down the page, more items are loaded.
Now my customer wants to add a
Late answer, but you could use the parse function of the Facebook API in a callback of your function that loads the new elements to render the new like buttons:
FB.XFBML.parse();
You can also direct the parser to the elements you want rendered, so it doesn't re-render the already existing like buttons:
FB.XFBML.parse(document.getElementById('foo'));
This is straight from the docs: https://developers.facebook.com/docs/reference/javascript/FB.XFBML.parse/