Displaying 5 results from an estimated 5 matches for "facebook_account".
Did you mean:
facebook_accounts
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 Jan 25
3
More on routing, relative_root and facebooker
...reat...but still, there was this screwy thing with urls looking like
this in canvas:
http://apps.facebook.com/appname/facebook/...
and therefore hitting the rails routing as:
http://mydomain.com/facebook/facebook/....
Ok, so then I try a manual route, just to try and get it working:
map.facebook_accounts ''/facebook/:action/:id'', :controller =>
''facebook_accounts''
Same deal, the first hit onto facebook is fine, but subsequent calls
are wacky. My rails app seems to be working against me. The routes I
dictate in routes.rb are not being listened to. There...
2007 Dec 04
5
new facebooker
Hi guys,
I am new to this list and thought i''d say hello. I am using
facebooker on a new project and so far I am really pleased with it. I
saw that some users are having woes with the url_rewriter breaking
urls for paths outside of the facebook canvas (i.e. your site
supports both facebook and non-facebook users). I don''t have a
prefect answer for this but I wrote a
2008 Jan 10
3
A best practices question
Hey everyone. I''ve got a best practices question. How are you guys
rendering newsfeeds? We have a couple of apps where we send newsfeed
items from a backend process. As such, we aren''t in the context of a
controller and can''t use the rails template rendering. We''ve tried
about 3 different ways to make that bearable, but aren''t having much
2007 Dec 11
0
before_filter work around
...s facebook and non-facebook
portions and since facebooker seems to want to resolve to the default
route of "/" i''ve written a little before filter that seems to make
these two exist OK.
def is_facebook_request?
redirect_to(params.merge({ :controller => ''facebook_accounts'' }))
and return false if params.include?(''fb_sig'')
end
I just merge my facebook controller into the params hash and
redirect to the facebook controller for methods which try and resolve
to the default "/" actions.
Hope that is helpful to someone besi...