Add a Facebook LIKE button in product view page

1. Open your Magento project directory then GO to "app/design/frontend/default/template/catalog/product/ and open view.phtml" file.
2. Add the following code snippet where you want to show Facebook LIKE button on view.phtml page.  

 getCurrentUrl()); ?>   

3. Save it. Now open product detail page, you should see Facebook Like button.