Recent Posts by louis
|
Aug 7, 2008
louis
5 posts
|
Topic: Developing Facebook Platform Applications with Rails / registering feed problem page 114 of B7.0: “We’ll do this by calling AttackPublisher.register_attack_feed. Give this a try in script/console. You should get an integer as a return value.” i get: Facebooker::Session::MissingOrInvalidParameter: The small story template is a required parameter, and it must be of type string in my AttackPublisher model, i have the method exactly as listed in the book:
i’m opening script/console, and entering the model + method as listed in the book. i assume no one else is having this issue since i see nothing in these forums. does anyone know how to resolve it? i assume the .register_ method registers the template by the method name in the model, and uses the return value of the method as the ‘string’. am i wrong? i believe i have the latest version of facebooker (i script/plugin update’ed). any pointers are much appreciated. |
|
Jul 8, 2008
louis
5 posts
|
Topic: Developing Facebook Platform Applications with Rails / Routing Error from pg. 38 thanks for the reply! i’ll plow along and see where it gets me. |
|
Jul 4, 2008
louis
5 posts
|
Topic: Developing Facebook Platform Applications with Rails / Routing Error from pg. 38 hi, i get the Add this App, but once i add it, i get a routing error page. it’s an error on the rails server, b/c it’s in the logs. (and it’s the facebooker layout.rb template) i’ve followed the instructions in the book to the letter. and have gone over the steps and code several times. does anyone have an idea on where to look for a solution? has facebook changed something since this latest version of the pdf? i’m using Rails 2.1.0 error: Routing Error now, the book doesn’t say that we need to map ’/’ to anything (the default being the rails welcome page). and there’s no other controller to use except invitations—up to this point in the book. snippet from dev logs on rails server: Processing ApplicationController#index (for 69.63.176.91 at 2008-07-04 02:22:29) [GET] Session ID: STRING_OF_CHARS Parameters: {“fb_sig_time”=>”1215138149.0521”, “fb_sig”=>”STRING_OF_CHARS”, “_method”=>”GET”, “fb_sig_locale”=>”en_US”, “installed”=>”1”, “fb_sig_session_key”=>”STRING_OF_CHARS”, “fb_sig_position_fix”=>”1”, “fb_sig_in_canvas”=>”1”, “fb_sig_request_method”=>”GET”, “auth_token”=>”STRING_OF_CHARS”, “fb_sig_expires”=>”0”, “fb_sig_friends”=>”STRING_OF_CHARS”, “fb_sig_added”=>”1”, “fb_sig_api_key”=>”STRING_OF_CHARS”, “fb_sig_profile_update_time”=>”0”, “fb_sig_user”=>”STRING_OF_CHARS”} ActionController::RoutingError (No route matches ”/” with {:method=>:get, :canvas=>true}):
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:384:in `recognize’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:148:in `handle_request’ |
|
Jul 2, 2008
louis
5 posts
|
Topic: Developing Facebook Platform Applications with Rails / Cannot find Karate_poke on FB i had the same issue until i clicked on the Karate Poke listed as the app dev. then i added the app to my profile. all’s good. |
|
Dec 27, 2007
louis
5 posts
|
Topic: FXRuby / beta version of book? will there be a beta version of this book? thanks! |
5 posts
