[Facebooker-talk] Running multiple FB apps off the same Rails app

Jatinder Singh jatinder.saundh at gmail.com
Thu Jul 17 21:22:35 EDT 2008


Hi,

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,

http://pastie.org/236172


Thanks
Jatinder
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
> file.
>
> 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?
>
> Robert
>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk
>
>


More information about the Facebooker-talk mailing list