Pages

Facebook Send Button

The Send Button allows your users to easily send your content to their friends. People will have the option to send your URL in an inbox message to their Facebook friends, to the group wall of any Facebook group they are a member of, and as an email to any email address. While the Like Button allows users to share your content with all of their friends, the Send Button allows them to send a private message to just a few friends.
The message will include a link to the URL specified in the send button, along with a title, image, and short description of the link. You can specify what is shown for the title, image, and description by using Open Graph meta tags.

Get a combined Like and Send button

You can implement the send button on its own, but if you also want a Like button on your site, you can simply addsend=true as an attribute to the Like button. This will render the Like button and Send button next to each other. Find the documentation on the Like button page.

Get a standalone Send button


 

Attributes

  • href - the URL to send.
  • font - the font to display in the button. Options: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana'
  • colorscheme - the color scheme for the like button. Options: 'light', 'dark'
  • ref - a label for tracking referrals; must be less than 50 characters and can contain alphanumeric characters and some punctuation (currently +/=-.:_). Specifying the ref attribute will add the 'fb_ref' parameter to the referrer URL when a user clicks a link from the plugin.

FAQ

How do I know when someone sends a message from the plugin?

You can subscribe to the 'message.send' event through FB.Event.subscribe.

How do I display the Send button in different languages?

If you are using the XFBML version include the language code when you instantiate the library. Replace ‘en_US’ in this line with the correct locale code:
'//connect.facebook.net/en_US/all.js';
If you are using the Iframe version include a locale parameter with the proper country code in the src URL. Example:
src="http://www.facebook.com/plugins/send.php?locale=fr_FR&..."
You may need to adjust the width of the Like button to accommodate different languages.

What is the best way to know which plugin on my site generated the traffic?

We report referral clicks on the Insights dashboard. In the coming weeks we will add the 'ref' parameter to the plugin (see "Attributes" above).
Examples:
<fb:send ref="homepage"></fb:send>
When a user clicks a link on the plugin, we will pass back the ref value as a fb_ref parameter in the referrer URL. Example:
http://www.facebook.com/l.php?fb_ref=homepage 
This is coming soon.