Facebook has recently launched the Send button for its users. This allows them to send messages and information to a few selected friends of theirs. The messages and feed, along with the URL, are directly sent to their friend's inbox. There are two ways to render a Send button. One is along with the Like button, and the other is to have a stand-alone Send button. Let us see how to integrate the Send button to our web page.
You should have set up
index.php, as explained in the beginning of Chapter 4.
We will first look at integrating the Send button with a Like button.