[Facebooker-talk] Better RESTful routes with fb_sig_request_method
Mike Mangino
mmangino at elevatedrails.com
Wed Dec 5 13:28:26 EST 2007
I would expect that with this change we won't need the
facebook_resource at all. We should be able to monkeypatch rails to
use the fb_sig_request_method and fall back to the main method if that
doesn't exist.
I would be much happier with a patch that does this. My goal is to
make Facebook development work exactly like non-facebook development.
Mike
On Dec 5, 2007, at 10:34 AM, Chad Fowler wrote:
>
>
> On 12/5/07, Kamal Fariz <kamal at ror.com.my> wrote: With the new
> fb_sig_request_method provided by Facebook, I've patched
> shanev's pseudo-resource routes to generate restful routes, minus some
> exceptions.
>
> The announcement: http://www.facebook.com/developers/message.php#msg_126
>
> Patch is submitted here: http://rubyforge.org/tracker/index.php?func=detail&aid=16105&group_id=4187&atid=16132
>
> Blog entry about it: http://blog.ror.com.my/2007/12/05/fb-sig-request-method-and-rails-differentiate-get-and-post/
>
>
> Hi Kamal. This looks really cool!
>
> I haven't been too active on the project in the past couple of
> months, because my Facebook development has cooled down for a while
> with other priorities. But I like the way this looks. I'd like to
> leave it to others who are more actively working with Facebooker to
> decide on whether to apply. One thing I would like, though, is if
> you could create some tests for this. One of my goals with
> Facebooker was for it to remain thoroughly covered by automated
> tests. I'd prefer not to accept any patches that aren't well tested.
>
> Thanks!
> Chad
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
--
Mike Mangino
http://www.elevatedrails.com
More information about the Facebooker-talk
mailing list