Hello, Just wanted to know if there was a specific way I needed to setup my app for integration with bebo. Do I need a bebo.yml file, or is there a way to declare this in facebooker.yml. What about routes? My understanding is that facebooker is now providing support for bebo but I havent found anything that talks about getting this working. Any tips would be greatly appreciated. Best, Denny -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20081027/942cdbc9/attachment.html>
You can put something like this in your facebooker.yml file bebo_api_key: pZwnITIadEri1V0fNPxEMhSen9VBCoRf5jV9 bebo_secret_key: SECRET bebo_canvas_page_name: ttdev bebo_adapter: BeboAdapter Dave On Mon, Oct 27, 2008 at 5:01 PM, Denny Montoya <dennymontoya at gmail.com>wrote:> Hello, > > Just wanted to know if there was a specific way I needed to setup my app > for integration with bebo. Do I need a bebo.yml file, or is there a way to > declare this in facebooker.yml. What about routes? My understanding is > that facebooker is now providing support for bebo but I havent found > anything that talks about getting this working. Any tips would be greatly > appreciated. > > Best, > > Denny > > _______________________________________________ > 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/20081028/f8d77559/attachment.html>
Checkout adapter_base.rb Then see the following static method: def self.load_adapter(params) Then investigate the method to see what kinds of keys you can pass into that params method. I see two: config_key_base, and fb_sig_api_key. To call a static method, simply type the class name, dot, then the static method. Static methods do not require objects. An example of calling this method is as follows: Facebooker.load_adapter(:config_key_base => "bebo") You might try calling this within a method that gets called from a before_filter in application controller. In that method you can check for bebo specific parameters, and if they exist, then call that load_adapter method. Add bebo_api_key and another necessary parameters prefixed with bebo_ in the facebooker.yml On Mon, Oct 27, 2008 at 6:01 PM, Denny Montoya <dennymontoya at gmail.com> wrote:> Hello, > > Just wanted to know if there was a specific way I needed to setup my app for > integration with bebo. Do I need a bebo.yml file, or is there a way to > declare this in facebooker.yml. What about routes? My understanding is > that facebooker is now providing support for bebo but I havent found > anything that talks about getting this working. Any tips would be greatly > appreciated. > > Best, > > Denny > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk > >