search for: facebook_controller

Displaying 5 results from an estimated 5 matches for "facebook_controller".

2008 Jan 23
2
Accessing the current session
...''s the code: class FacebookController < ApplicationController ensure_application_is_installed_by_facebook_user fb_session = session[:facebook_session] # ... action functions here ... end I''m getting this error: TypeError (Symbol as array index): .//app/controllers/facebook_controller.rb:3:in `[]'' .//app/controllers/facebook_controller.rb:3 If I put the session[:facebook_session] reference inside any of the actions, it works fine. But that doesn''t allow me to factor it out for use by all actions. If I put it inside a helper function or class method, it g...
2007 Dec 10
4
facebook_resources method not found
Is anyone else getting this error in their routes, when running Facebooker from a plugin. ./script/../config/../config/routes.rb:67: undefined method `facebook_resources'' for main:Object (NoMethodError) from /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/routing.rb:1139:in `draw'' from ./script/../config/../config/routes.rb:1
2008 Aug 14
0
Anyone have issues with refreshRefUrl
...ce | Framework Trace | Full Trace vendor/plugins/facebooker/lib/facebooker/parser.rb:426:in `process'' vendor/plugins/facebooker/lib/facebooker/parser.rb:15:in `parse_without_logging'' lib/extensions.rb:156:in `parse'' lib/extensions.rb:144:in `post'' app/controllers/facebook_controller.rb:247:in `refresh_default_fbml'' If I log into the app and rerun the request the issue goes away. Anyone else having issues? Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080814/bbafd...
2008 Mar 27
0
handling post-remove URL / uninstall of application
...ebooker::Session::ConfigurationMissing: Could not find configuration information for api vendor/plugins/ facebooker/lib/facebooker/session.rb:437:in `report_inability_to_find_key'' vendor/plugins/facebooker/lib/ facebooker/session.rb:67:in `api_key'' app/controllers/ facebook_controller.rb:58:in `post_remove'' -- http://simonwoodside.com
2008 Jan 11
18
getting started
Hey all, Been reading through all the old posts (and the docs) to familiarize myself but I still feel a bit lost. I''m on trunk and am having a bit of a hard time knowing where to start with the particular I''m trying to solve. So far, I''ve downloaded backgroundrb, done the basic rails setup, created my worker and started it using `script/backgroundrb start`.