Add Facebook Like and Send button to blogs and websites

Facebook has released a new button to share contents on blogs and websites: the facebook Send button.

About Send Button:
Facebook Send Button will allows you to send your links/content privately to just a few friends. When you click on it, Facebook will open the messaging service and automatically attached the URL/Content. You may also add a personal message to the recipient of your message.

Script for Facebook Send Button:
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:send href="URL" font=""></fb:send>



About Like Button:
The Facebook Like Button lets a user share your content with friends on Facebook. When the user clicks the Like button on your site, a story appears in the user's friends' News Feed with a link back to your website.

Script for the Facebook Like Button:
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="URL" width="450" font="" layout="button_count"></fb:like>




Script for combined Like and Send button
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<fb:like href="URL" width="450" send="true" font="" layout="button_count"></fb:like>




Note: replace "URL" with the url of the content you want to share.

These are really convenient features to target you sharings to Facebook Group Wall, Facebook Friends, and as an email to any email address.

More details visit developers.facebook.com

0 comments:

Post a Comment