Hi,
I am using rails 2.2. I am trying to develop an application in
facebook.
I installed gem rfacebook (0.9.8) and also I installed plugin
“rfacebook” by using “ruby script/plugin install
http://rfacebook.rubyforge.org/svn/trunk/rfacebook/plugins/rfacebook”
command.
I added a line “before_filter :require_facebook_login” in
application.rb.
Whenever I am hitting my application URL
“http://localhost:3000/socialrecipetushar” it is asking me for login to
face book. After I am entering my valid facebook id and password it is
going in infinite loop. I checked the log and it is giving an error like
this
“Processing RecipesController#index (for 127.0.0.1 at 2009-03-18
07:10:28) [GET]
e[4;35;1mSQL (0.0ms)e[0m e[0mSET SQL_AUTO_IS_NULL=0e[0m
** RFACEBOOK INFO: Redirecting to login for external app
** RFACEBOOK INFO: iframe redirect to
Filter chain halted as [:require_facebook_login] rendered_or_redirected.
Completed in 0ms (View: 0, DB: 0) | 200 OK
[http://localhost/socialrecipetushar/recipes]”
It seems to be it is not able to take session. I am not able to tackle
the problem Can anybody give me solution to this problem?
Thanks,
Tushar