Displaying 6 results from an estimated 6 matches for "facebook_resourc".
Did you mean:
facebook_resource
2008 Jan 04
2
Nested Routes + Facebook Resources
Does anyone have nested routes working with the facebook_resources
method?
My routes.rb has:
map.facebook_resources :users do |users|
users.facebook_resources :images
users.facebook_resources :connections
end
but user_connections_url won''t generate.
"rake routes" gives me:
new_user POST /users/new...
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
from /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/
lib/a...
2007 Dec 05
7
Better RESTful routes with fb_sig_request_method
With the new fb_sig_request_method provided by Facebook, I''ve patched
shanev''s pseudo-resource routes to generate restful routes, minus some
exceptions.
The announcement: http://www.facebook.com/developers/message.php#msg_126
Patch is submitted here: http://rubyforge.org/tracker/index.php?func=detail&aid=16105&group_id=4187&atid=16132
Blog entry about it:
2007 Nov 18
0
Pseudo resource routes
I added a route mapper called facebook_resources. This allows you to
create pseudo-resource routes. Since everything is a POST in
Facebook, you can''t identify routes using HTTP verbs. Each route is
prefixed with its action, except for index.
Example:
map.facebook_resources :profiles
Will give you the following named routes:
new_...
2008 Jan 25
3
More on routing, relative_root and facebooker
...;facebook_accounts'', :condition => {:canvas => true}
Ok, that breaks everything. My normal routes no longer function, nor
do my helpers for those routes.
After the first day of working with facebooker from my perspective, I
think the following would be helpful:
a) rewrite map.facebook_resources to handle options so people have a
bit more flexibility (also add the GET/POST conditions to the routes)
b) make it crystal clear somewhere in the docs that by default there
is rewriting going on FOR you while in-canvas.
I''m tempted to try out Shawns recent rewrite of the url_rewrit...
2008 Jan 16
10
Towards a 1.0 release
Hey everybody.
I''ve been using Facebooker on several projects over the last few
months and feel like it is really starting to mature. I''d like to push
towards a 1.0 release within the next month. I''d really like
everybody''s input on what still needs to be done, as well as some help
in wrapping things up. I''ve created a list of things that still