search for: find_by_facebook_uid

Displaying 1 result from an estimated 1 matches for "find_by_facebook_uid".

2008 Mar 27
0
handling post-remove URL / uninstall of application
...emove Now I''ve defined something like this in my controller: def post_remove if request.post? raise "Incorrect API Key" unless params[''fb_sig_api_key''] == Facebooker::Session.api_key #session[:facebook_session].api_key my_user = WebUser.find_by_facebook_uid params[''fb_sig_user''] WebUser.destroy my_user end end Unfortunately the call to Facebooker::Session.api_key isn''t working, below is my test code and the error. It''s not strictly necessary, but helps with security I guess. Also, I guess I will...