title: Custom post to facebook button
body: <p>I have a page where users can submit entries to my site, but I want to give them the option to post the entry to facebook as well if a checkbox is checked. They would post a custom message like "[User] has just post on mysite.com" and the caption would be a preview of the entry. My question is how to I publish to a user's facebook stream when they are logged into facebook.</p>
  
  <pre><code>Submit entry:&lt;br /&gt;
  &lt;textarea name="content" id="content" cols="35" rows="10"&gt;&lt;/textarea&gt;
  &lt;input type="checkbox" name="post" value="fb" /&gt; Post to facebook &lt;br /&gt;
  </code></pre>
  
  <p>I just need to know how to handle what to do when "post" is check. I hope this makes sense.</p>
  
  <p>Also I remember finding a tutorial or something that explained how to do this, but I can't find it anymore.</p>
  
  <p>UPDATE: My site is setup so that when the user logs in with facebook they are prompted to give my site permission to publish to there stream. </p>