« Facebook Plugin Overview Picture | Main | Creating Facebook Forms with Facebooker »

January 28, 2008



Trying out your sample code, I always get the following exception: #
It seems that I need an "infinite session key". Do you know what I did wrong?


the exception: Facebooker::Session::MissingOrInvalidParameter: Invalid parameter



For persons having various exceptions for sessions, have you correclty said Rails to use ActiveRecord for storing sessions?


The link in step 1 is broken, do you have an alternate link?


I need to generate links in for my application. I use url_for(:controller => 'posts' , :action => 'index').But the links are broken, like it generates /posts/index instead of http://appa.facebook.com/myapp/posts/index.I don't use a named route.Will url_for work in facebooker only if i pass the :canvas,:only_path and :skip_relative_path params?


Thanks for tutorial. I have installed Facebooker plug-in about to create controller as suggested in tutorial and got following error.
Did I miss anything ?

C:\temp\quickstart>ruby script\generate controller Face index
c:/ruby186/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original
_require': C:/temp/quickstart/vendor/plugins/facebooker/lib/facebooker/models/us
er.rb:288: syntax error, unexpected $end, expecting kEND (SyntaxError)
from c:/ruby186/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
from c:/ruby186/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_su
pport/dependencies.rb:510:in `require'
from c:/ruby186/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_su
pport/dependencies.rb:355:in `new_constants_in'
from c:/ruby186/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_su


Thanks in advance

Joel Nylund

Hey Rajan, this example is really old, I wouldn't use it anymore. But I think your problem is from facebooker, see : http://railsforum.com/viewtopic.php?pid=84680. You may just want to add the end for now and go on.

The comments to this entry are closed.