Displaying 8 results from an estimated 8 matches for "fb_sig_us".
Did you mean:
fb_sig_user
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
...hing 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 need to add the code from...
2008 May 15
3
Facebooker support for iframe apps
...like facebooker does not currently support iframe
facebook apps - or am I missing something?
My first problem as I understand it is as follows - When you are
logged into facebook, and access a facebook application,
facebook tacks on a whole lot of extra fb_sig parameters to the
request (including fb_sig_user) that the application can then
validate to authenticate the user. ( via a frustratingly poorly
documented algorithm )
I found that for my facebook application that uses an iframe,
facebooker didn''t seem to be performing this validation.
Digging into the code, I found in controller.rb,...
2009 Apr 22
1
how can I get the friends of a fb user only using his facebook id
..., which is generated by .rxml
file, but this rxml file has no information related to the current facebook
user and his session. So I can only pass some data that comes from the
<fb:swf> flashvars through the flash movie to the .rxml in the form of url
arguments. One possible things to pass is fb_sig_user, which is the facebook
id of the user. Other available flashvars are listed in the wiki:
http://wiki.developers.facebook.com/index.php/Fb:swf
So, I need to have info about the facebook user''s friends in the .rxml file.
How can I achieve this?
Thanks a lot!!!
-------------- next part -...
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
...dc6fdbc3cd3822", "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::InvalidAuthenticityToken
(ActionController::InvalidAuthenticityToken):
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/request_forg...
2008 Mar 11
0
Facebooker-talk Digest, Vol 5, Issue 12
..._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"
send(http_verb, action, params.merge(fb_params))
@request.accept = "text/html"
end
private
# TODO this is...
2008 Mar 11
0
Facebook_request in unit tests
...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"
send(http_verb, action, params.merge(fb_params))
@request.accept = "text/html"
end
private
# TODO this is copied...