I am new to this site.
The reason I said, "Dynamic.." is because, I know how to create the like button, but that is for one page. But, I am building a news website and instead of manually entering the Facebook code on each news and article, I would like that to happen automatically on the new and dynamically-created pages so I won't have to put them each time I publish an Article on the page.
Usually my pages URL will be like www.site.com/articles.php?id=12
So the id, is the only thing it changes, so I don't know what to do after that.