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
The Facebook like button is just an on the page. There is no "Facebook API" running, as such. The like count is part of the content inside of the
, and gets loaded with the rest of the content when the
src
URL is loaded by the browser. The code for a like button goes like:
So in essence, all you should need to do is add a new to the page in the correct location and with the correct
src
URL, and all the rest will be handled automatically for you.