Upload a Photo to Facebook with REST API and Ruby

Posted by Michael Waxman on Stack Overflow See other posts from Stack Overflow or by Michael Waxman
Published on 2010-04-02T23:11:38Z Indexed on 2010/04/02 23:13 UTC
Read the original article Hit count: 392

It's much harder than you'd think:

http://wiki.developers.facebook.com/index.php/Photos.upload

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.

Please help!

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about facebook