Implenting Facebook Like Button onto website

Does anyone know if there is a script where we can implement the Facebook Like button across every page on a website? I’ve seen sites that implement the button. I know we can use FB’s social plugin site to create a link manually but some of these sites I’ve seen have like button applied to hundreds of their pages so I"m pretty sure they are automating this process and not doing it manually. I’m just not sure how?