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 theLike Buttonallows 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 usingOpen Graph meta tags.
Get a combined Like and Send button
You can implement the send button on its own, but if you also want aLike buttonon your site, you can simply addsend=trueas an attribute to the Like button. This will render the Like button and Send button next to each other. Find the documentation on theLike buttonpage.
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.
How do I know when someone sends a message from the plugin?
You can subscribe to the 'message.send' event throughFB.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:
If you are using the Iframe version include a locale parameter with the proper country code in the src URL. Example: