<iframe src="http://www.facebook.com/widgets/like.php?href=http://<?=$url_site?>megusta.php?id=<?=$id?>" scrolling="No" frameborder="0" style="border:none; width:450px; height:25px; margin-top:10px; margin-bottom: 10px;"></iframe>
en realidad tu codigo esta bien, pero de todas maneras visita esta pagina :
http://developers.facebook.com/docs/.../plugins/like/
talvez utilizando el XFBML te ayude.