in News

Facebook “like” button API rocks!

You can now add the “like” button on to your own webpage by using either their iframe html markup or using the new Javascript SDK which is more flexible than the iframe solution.

You can see a live example of this on http://www.medicsafe.co.nz which uses the like button on each product listed on the website.

Or you can test it out here

Just make sure that you set the height css as by default it’s not set which is annoying!

References:

http://developers.facebook.com/docs/reference/plugins/like

http://www.medicsafe.co.nz