search for: callback_url

Displaying 7 results from an estimated 7 matches for "callback_url".

2008 Jun 28
5
asset_host?
...my head around Facebooker to try and build some integration points between an existing ROR application and facebook. I''ve managed to get FB talking to my app but when I tried to access my ROR app directly I noticed that all requests for images, CSS, and JS files were being made through my callback_url. Commenting out the following line from Facebooker''s init.rb made this stop, but I''m not sure what else I might be breaking with this change: ActionController::Base.asset_host = FACEBOOKER[''callback_url''] if(ActionController::Base.asset_host.blank?) Any point...
2008 Mar 20
2
Anyone having problems with asset_host not getting set up right?
...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 == "" So it never gets set -- which means stylesheets and images gon''t get pulled in from facebook. I am going to change it to : ActionController::Base.asset_host = FACEBOOKER[''callback_url''] if(ActionC...
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
2008 Feb 01
2
Facebooker interfering with existing application
...ent, 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 searched for on http://someurl/javascripts, where someurl is the contents of the callback_url on facebooker.yml. This seems strange, because no other application file was touched: the controller, routes.rb, environment.rb, all are just as before. So, just by dropping the facebooker directory under vendor/plugins and by copying facebooker.yml to config, the app started looking for the stat...
2008 Jan 26
14
Introducing facebooker.yml
If you are using facebooker as a plugin, you can now have all your configuration in one place, namely config/facebooker.yml. You can create this file with rake facebooker:setup. It is also generated when you install it as a plugin. It has a similar setup to database.yml with sections for each environment. You can also configure your ssh reverse tunnels. If you are upgrading, make sure to
2007 Dec 10
4
facebook_resources method not found
Is anyone else getting this error in their routes, when running Facebooker from a plugin. ./script/../config/../config/routes.rb:67: undefined method `facebook_resources'' for main:Object (NoMethodError) from /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/ action_controller/routing.rb:1139:in `draw'' from ./script/../config/../config/routes.rb:1
2008 Mar 10
15
facebooker is rewriting URLs even off of facebook canvas
The URLs for CSS/JS files are being rewritten to the address specified in the tunnel even when outside of the facebook canvas. Is anyone else having this problem?