title: Upload a Photo to Facebook with REST API and Ruby
body: <p>It's much harder than you'd think:</p>
  
  <p><a href="http://wiki.developers.facebook.com/index.php/Photos.upload" rel="nofollow noreferrer">http://wiki.developers.facebook.com/index.php/Photos.upload</a></p>
  
  <p>The tricky part is how to create the MIME multi-part message in Rails, which Facebook requires. I'm also using a Ruby Facebook API gem (mini_fb) which signs my other requests, and in addition to having no idea how to set up the MIME multi-part, even if I did I'm not sure how to add in the required signature values with the gem. </p>
  
  <p>Please help!</p>