search for: secret_key

Displaying 9 results from an estimated 9 matches for "secret_key".

2008 Mar 20
2
Anyone having problems with asset_host not getting set up right?
...I would be suprised since it would cause major problems. We setup the asset_host in init.rb with: if File.exist?(facebook_config) FACEBOOKER = YAML.load_file(facebook_config)[RAILS_ENV] ENV[''FACEBOOK_API_KEY''] = FACEBOOKER[''api_key''] ENV[''FACEBOOK_SECRET_KEY''] = FACEBOOKER[''secret_key''] ENV[''FACEBOOKER_RELATIVE_URL_ROOT''] = FACEBOOKER[''canvas_page_name''] ActionController::Base.asset_host ||= FACEBOOKER[''callback_url''] end But ActionController::Base.asset_host == &quot...
2008 Apr 03
3
loading settings from database
I''m just wondering what the best way to go about loading my API keys from the database is ... Should I simply place them in the ENV variable? Is there a way better way to go about this?
2008 Mar 11
0
Facebooker-talk Digest, Vol 5, Issue 12
...sig_/, '''')] = pair.last if pair.first[0,7] == ''fb_sig_'' collection end raw_string = facebook_sig_params.map{ |*args| args.join(''='') }.sort.join actual_sig = Digest::MD5.hexdigest([raw_string, Facebooker::Session.secret_key].join) Digest::MD5.hexdigest([raw_string, Facebooker::Session.secret_key].join) end end end end I had wanted to submit the code as a patch, but, there are two or three glaring flaws with the code: 1) signature_for is duplicated here, because it''s a private/protected...
2008 Mar 11
0
Facebook_request in unit tests
...^fb_sig_/, '''')] = pair.last if pair.first[0,7] == ''fb_sig_'' collection end raw_string = facebook_sig_params.map{ |*args| args.join(''='') }.sort.join actual_sig = Digest::MD5.hexdigest([raw_string, Facebooker::Session.secret_key].join) Digest::MD5.hexdigest([raw_string, Facebooker::Session.secret_key].join) end end end end I had wanted to submit the code as a patch, but, there are two or three glaring flaws with the code: 1) signature_for is duplicated here, because it''s a private/protected meth...
2008 Jun 19
5
How do you create one session cookie for multiple subdomains
I am using the restful authentication plugin and am always prompted to login if a different subdomain is accessed. I have found a couple rails "solutions", but none of them seem to work: # development.rb 1. ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:session_key] = ".localhost" 2. ActionController::Base.session_options[:key] = ".localhost" Does anyone
2008 Mar 11
0
How to get a facebook session for desktop applications (or unit tests?)
...''facebooker'' sess = Facebooker::Session.create sess.secure! Since secure! calls auth_token to get authentication token on its own if it hadn''t already. But instead this throws a Facebooker::Session::MissingOrInvalidParameter: => #<Facebooker::Session:0xb66756e0 @secret_key="829bbe2f0255043cc906b064a9239c07", @api_key="98519f7e0ed4e6e8ad01bfb2864c1e3c"> >> sess.secure! Facebooker::Session::MissingOrInvalidParameter: Invalid parameter from /home/wil/proj/3cgworkspace/mobtropolis/vendor/plugins/facebooker/lib/facebooker/parser.rb:386...
2008 Mar 31
13
request for change in URL pointing to facebook domain
I am requesting that we change the paths that absolutely point to the facebook URL. In the PHP client there is a method in the facebook.php file called get_facebook_url() so this is easy to change there. One reason for this: Ringside Networks is a drop in replacement for Facebook that can be used for localhost development and eventually an abstraction for most social networks - it mimics the
2008 Feb 01
2
Facebooker interfering with existing application
Hi! I have an existing application, basically a very simple Hobo app. It works... When I install the Facebooker plugin and create the facebooker.yml file (with valid or fake content, doesn''t matter), the original app starts behaving strangely. The controller and view logic keeps working, but several static files stop being served from http://localhost:3000/javascripts and start being
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
...uot; +MEDIA_URL = '' + +# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a +# trailing slash. +# Examples: "http://foo.com/media/", "/media/". +ADMIN_MEDIA_PREFIX = '/media/' + +# Make this unique, and don't share it with anybody. +SECRET_KEY = '9z)tl1sd!xg7ca^n51zf*0z5k##ztg-bz!@g^+5gnec&cx5jo_' + +# List of callables that know how to import templates from various sources. +TEMPLATE_LOADERS = ( + 'django.template.loaders.filesystem.load_template_source', + 'django.template.loaders.app_directories.load_temp...