Displaying 2 results from an estimated 2 matches for "fb_sig_uninstall".
2008 Aug 21
4
forgery Protection
Has anybody solved this issue. [
http://rubyforge.org/pipermail/facebooker-talk/2008-April/000552.html ] ?
NameError (undefined local variable or method `controller'' for
#<LeaveController:0xb7144abc>):
/app/controllers/application.rb:24:in `verify_authenticity_token''
2008 Mar 27
0
handling post-remove URL / uninstall of application
...code from the wiki to verify the
signature, in order to protect from hackers.
--simon
def test_post_remove
# First, make sure the user is there (not deleted)
assert_not_nil WebUser.find_by_id( 1 )
# Then, call post_remove on facebook controller
post :post_remove, { "fb_sig_uninstall" => "1",
"fb_sig_time" => Time.now,
"fb_sig_user" => "1",
"fb_sig_profile_update_time" => nil,
"fb_sig_session_key"...