Blog > detail

Just my tiny mind

Facebook Like Button

26-2-2012 Admin General 2 Comments

Facebook Like Button

Facebook Like Button is The Like button provided by Facebook to lets users share pages from site back to their Facebook profile with one click. To implement Facebook Like Button is quite simple. What you need is to copy and paste some code that you can generate it from http://developers.facebook.com/docs/reference/plugins/like/.


This is some example code:


<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><script type="text/javascript" src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>



What you have to keep in mind is the [URL to be liked]. You can change [URL to be liked] into any url. In this case, the url of "http://yourdomain.com/post.php?post=1" will be different with "http://yourdomain.com/post.php?post=2". Therefore, each page in your domain may have exactly one particular Facebook Like Button that different with Facebook Like Button from other page.


 


 Facebook Like Button

Facebook Like Button

word word word word word word word word word word wordword word word word word word word word word word

Facebook Like Button

Facebook Like Button

Facebook Like Button