Michael Jones
2008-Nov-11 22:25 UTC
[Facebooker-talk] Multiple FB Apps Single Rails Instance?
Hey Folks- First off thanks for a great library! We''ve been building apps with Facebooker for a while now and it really eases some of the Facebook madness. Secondly, I''m getting tired of setting up a Rails stack for each FB app. Since some of these apps are small and focused I''d really like to have a single controller represent a FB app. I''ve been looking over Facebooker and have some ideas on how to hack it to get this functionality but was wondering if the group had any suggestions or pointers for this sort of functionality? Thanks- MJ
David Clements
2008-Nov-12 00:51 UTC
[Facebooker-talk] Multiple FB Apps Single Rails Instance?
You can start by adding something like this to your YAML file foo_api_key: SOMEOTHERAPIKEY foo_secret_key: SECRET foo_canvas_page_name: supermeemcloud foo_callback_url: http://localhost:3000 foo_adapter: FacebookAdapter Where foo is any unique string. Then I think you will have to do something with routes. I don''t know if anyone is doing this in production. But it should get you 90% of the way there. Dave On Tue, Nov 11, 2008 at 3:25 PM, Michael Jones <mjfreshyfresh at gmail.com>wrote:> Hey Folks- > > First off thanks for a great library! We''ve been building apps with > Facebooker for a while now and it really eases some of the Facebook madness. > > Secondly, I''m getting tired of setting up a Rails stack for each FB app. > Since some of these apps are small and focused I''d really like to have a > single controller represent a FB app. > > I''ve been looking over Facebooker and have some ideas on how to hack it to > get this functionality but was wondering if the group had any suggestions or > pointers for this sort of functionality? > > Thanks- > MJ > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20081111/01f62943/attachment.html>