search for: rewrite_url_with_facebooker

Displaying 3 results from an estimated 3 matches for "rewrite_url_with_facebooker".

2007 Dec 20
0
Relative URL fix
...ld_rewrite_url(path, options) if ActionController::check_mode_and_base unless options[:skip_relative_url_root] url = url.gsub(@request.protocol + @request.host_with_port, '''') url = BASE_URL + url end end url end Here is a slight change to the rewrite_url_with_facebooker method, which deletes the :skip_relative_url_root key if it is true. def rewrite_url_with_facebooker(*args) options = args.first.is_a?(Hash) ? args.first : args.last is_link_to_canvas=link_to_canvas?(@request.request_parameters, options) options[:skip_relative_url_root] ||...
2008 Jul 11
0
canvas url rewriting fails for templates loaded through ajax
...1" || @request.parameters[:fb_sig_in_canvas] == "1" + option_override || (@request.parameters["fb_sig_in_canvas"] == "1") || (@request.parameters[:fb_sig_in_canvas] == "1") || (@request.parameters[:fb_sig_is_ajax]=="1") end def rewrite_url_with_facebooker(*args) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20080710/fc90cbdb/attachment-0001.html>
2008 Jan 29
17
facebook_url_rewriting.rb
Here''s the fix for Facebook apps that specify a controller in their callback URLs. First, set this variable in your environment scripts: ENV[''FACEBOOKER_CALLBACK_PATH''] = ''/controller'' # where controller is the name of your Facebook controller And then patch vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb as shown in the