Hi Mike,
I tried your fix but my application just ran in an infinite loop. I am
running this on Mongrel 1.1.2. The following two messages keep getting
logged. The only paramater that changes in each cycle is the
authorization token.
Processing WelcomeController#index (for 127.0.0.1 at 2008-02-18
21:04:36) [GET]
Session ID: 877ec39dd76d084fffbd9e135bbd3723
Parameters: {"action"=>"index", "controller"=>"welcome"}
** RFACEBOOK INFO: Redirecting to login for external app
** RFACEBOOK INFO: iframe redirect to
Filter chain halted as
[#<ActionController::Filters::ClassMethods::SymbolFilter:0x474c5e4
@filter=:require_facebook_login>] returned_false.
Completed in 0.00010 (10000 reqs/sec) | Rendering: 0.00000 (0%) | 200 OK
[http://localhost/fbfavor/\]
** RFACEBOOK INFO: using default Rails sessions (since we didn't find an
fb_sig_session_key in the environment)
** RFACEBOOK INFO: using default Rails sessions (since we didn't find an
fb_sig_session_key in the environment)
Processing WelcomeController#index (for 127.0.0.1 at 2008-02-18
21:04:41) [GET]
Session ID: 12655f67461b21da0aa26b5573797394
Parameters: {"action"=>"index",
"auth_token"=>"fbd2c38fdfda676d6f519724e5a03479",
"controller"=>"welcome"}
** RFACEBOOK INFO: attempting to activate a new Facebook session from
auth_token
** RFACEBOOK(GEM) - RFacebook::FacebookSession#remote_call -
auth.getSession({:auth_token=>"fbd2c38fdfda676d6f519724e5a03479"}) -
making remote call
** RFACEBOOK INFO: Regular redirect_to
** RFACEBOOK INFO: Regular redirect_to
Redirected to http://localhost:3000/fbfavor/
** RFACEBOOK(GEM) - RFacebook::FacebookSession#remote_call -
users.getInfo({:uids=>"761540841", :fields=>["first_name",
"last_name"]}) - making remote call
) - making remote call
** RFACEBOOK INFO: persisting Facebook session information into Rails
session
Completed in 5.82800 (0 reqs/sec) | 302 Found
[http://localhost/fbfavor/welcome/index?auth_token=fbd2c38fdfda676d6f519724e5a03479]
]
** RFACEBOOK INFO: using default Rails sessions (since we didn't find an
fb_sig_session_key in the environment)
** RFACEBOOK INFO: using default Rails sessions (since we didn't find an
fb_sig_session_key in the environment)
If anyone sees similar issues, please share.
Thanks,
John