title: Send message with Facebook Javascript API
body: <p>I have already included this in my page html:</p>
  
  <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script type="text/javascript" language="javascript"&gt;
      (function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
        fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));
  &lt;/script&gt;
  </code></pre>
  
  <p>And that I have <code>facebook-like box</code> in my page already, however I need to do now a way to send messages to email using the Facebook Javascript API. Is this configuration enough to call a "send message"? </p>
  
  <p>I have a custom HTML form in which when I click send I like it to send a message on my Facebook page's behalf. I have my page up in Facebook.</p>
  
  <ul>
  <li>I need to send message without any server side component (pure Javascript)</li>
  <li>I have a existing Facebook page (which I will use to send messages with)</li>
  <li>I have a custom form in which will be used to type in message. </li>
  <li>The message will be sent to some specific email address</li>
  <li>I can send to any email with Facebook so I assume this will work</li>
  </ul>