Displaying 6 results from an estimated 6 matches for "fb_sig_api_key".
2007 Dec 08
3
Uploading photos using facebook & attachment_fu
Hi All,
I''m trying to use a form to upload a photo that I will save using
attachment_fu. I''m very new to Facebookr so I apologize if this is covered
somewhere, but I''m kind of stumped.
Here''s what I''m doing now:
<% facebook_form_for(:my_object, :url => { :action => ''upload_photo'', :id =>
params[:id] }, :html => {
2008 Mar 27
0
handling post-remove URL / uninstall of application
...move]
ensure_authenticated_to_facebook [:except => :post_remove]
before_filter :get_user, :except => :post_remove
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...
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 Sep 08
0
InvalidAuthenticityToken when user adds application through facebook registration
..."fb_sig_session_key"=>"b3286f3c51ba8da745b45732-1487557007",
"auth_token"=>"a3a7138b014d8a4ceedc6fdbc3cd3822", "controller"=
>"home", "fb_sig_expires"=>"0", "fb_sig_added"=>"1",
"fb_sig_api_key"=>"06565c8dc05254276bcffcff049f604b", "fb_sig_profile_updat
e_time"=>"0", "fb_sig_user"=>"1487557007", "fb_sig_registration"=>"1"}
Rails then throws the following error:
ActionController::InvalidAuthenticityToke...
2008 Mar 11
0
Facebooker-talk Digest, Vol 5, Issue 12
...ition_fix" => "1",
"fb_sig_in_canvas" => "1",
"fb_sig_request_method" => http_verb.to_s.upcase,
"fb_sig_expires" => "0",
"fb_sig_added" => "1",
"fb_sig_api_key" => Facebooker::Session.api_key,
"fb_sig_profile_update_time" => "1203267404",
"fb_sig_user" => @fb_id }
fb_params.merge!("fb_sig" => signature_for(fb_params))
@request.accept = "text/fbml"...
2008 Mar 11
0
Facebook_request in unit tests
...g_position_fix" => "1",
"fb_sig_in_canvas" => "1",
"fb_sig_request_method" => http_verb.to_s.upcase,
"fb_sig_expires" => "0",
"fb_sig_added" => "1",
"fb_sig_api_key" => Facebooker::Session.api_key,
"fb_sig_profile_update_time" => "1203267404",
"fb_sig_user" => @fb_id }
fb_params.merge!("fb_sig" => signature_for(fb_params))
@request.accept = "text/fbml"
se...