Alexis Sukrieh
2009-Jan-26 11:14 UTC
[Facebooker-talk] Patch for supporting story_size in publishUserAction
Hello list, I use Facebooker for writing a Facebook app with rails, it works great, thanks for the job! I''m experiencing an issue though, described here: https://forums.pragprog.com/forums/48/topics/1904 Mainly, the issue is that publish_user_action() does not handle the optional parameter "story_size" of the Feed.publishUserAction methdod (see http://wiki.developers.facebook.com/index.php/Feed.publishUserAction ) So here is a patch that lets you give a "size" optional parameter when using any deliver_* method defined in your publisher. Hope that helps. Note: I''m not 100% happy with rescue ArgumentError stuff, maybe there''s a better way to do that. Regards, -- Alexis Sukrieh Yoolink - http://www.yoolinkpro.com -------------- next part -------------- A non-text attachment was scrubbed... Name: publishUserAction.diff Type: text/x-patch Size: 3231 bytes Desc: not available URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20090126/42ba8f95/attachment-0001.bin>