Monday, November 29, 2010

Allowing Facebook users to 'like' your webpage

It seems that every webpage out there now has a 'like' button on it so that you can share it with all your Facebook friends. Most webpage templates come with the 'like' button pre-installed, but if you are like me and actually write webpages free-hand, the following code may prove useful.

< src="http://www.facebook.com/widgets/like.php?href=http://www.example.com/" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px">

Facebook provides tutorials for installing widgets and 'like' buttons, but the code is buried deep in their developer's documentation section...

No comments:

Post a Comment