How To Add Facebook’s Send Button To WordPress

written by BlogEx on May 5, 2011 in WordPress Wednesdays with one Comment

Is Send the new Like? Facebook’s ubiquitous “LIKE” button has not only taken the internet by storm, it’s become the new standard by which the largest audience of internet users in one place (Facebook users) recommend things to people in their community. It’s simple. It’s easy. It works.

So now is the time when overly zealous corporate suits come in an wreck the whole thing by trying to fix what isn’t broken, right? Not so much…let’s take a look at what Facebook’s Send Button is and then how you can add it to WordPress.

What Is Facebook’s Send button?

Put simply, the Facebook Send button allows you to share a page or piece of content from the web to not only your Facebook friends but also to anyone with a email adress. Whereas the Like button allows you to share something with all of your friends, the Send button allows things to be a little more intiment: between you and a certain number of your friends or even right to someone’s email inbox.

How Do I Add The Send Button To WordPress?

You can either add the Send button by itself, or you can combine it with the Like button. One interesting thing to point out is that whenever someone “sends” your content to somebody else, it count’s as a “like.” For those worried about losing the social benefit from having someone like your page, you can rest assured that each and every send will count towards the like count for that page.

IMPORTANT: You can NOT currently use the iFrame code from Facebook to display the Send button. It won’t work. For the Send button to work on your site or with WordPress in general, you will need to use the XFBML code.

Option 1: Send Button With Like Button

If you want to add the Send Button to your WordPress posts, simply navigate to single.php in your WordPress dashboard, and place the following code somewhere in your loop (some themes may require doing this to loop.php).

send="true" width="450" show_faces="false" font="">

Option 2: Send Button Only

If you only want to add the Send Button to your WordPress posts, use this (and remember to add it to your page.php or other places you’d like the Send button to appear).

We are having some trouble getting this code to work with WordPress. We will update this section once we figure it out. If you have any insight, please post it in the comments below.

To learn more about the Send Button be sure to check out Facebook’s page and code generator.