[Facebooker-talk] Running multiple FB apps off the same Rails app
jatinder.saundh at gmail.com
Thu Jul 17 21:22:35 EDT 2008
I have done this with rfacebook, and I believe it should be fairly
easy to replicate the approach for Facebooker as well.
So I had 2 different namespaces for the facebook applications with in
the same rails app. The trick is to set the fb params(api key etc.) in
the application_controller.rb of each namespace.
For example, application_controller.rb of fb1 would have following,
On Thu, Jul 17, 2008 at 6:02 PM, Robert Matei <rmatei at gmail.com> wrote:
> Hi all,
> I'm trying to do a few templatized apps. I want them to all run off the same
> Rails app, which would fetch the right 'theme' from a database based on
> params[:fb_sig_api_key]. The themes store the config details of each app, in
> addition to specific prompts and so on.
> Presumably this would need a modified Facebooker, which can work with
> multiple api key / secret key combos instead of a single facebooker.yml
> I'm not sure where to start though, and I figured I'd check with people who
> know Facebooker better than I do. Any suggestions?
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
More information about the Facebooker-talk