Displaying 20 results from an estimated 7000 matches similar to: "facebook_resources method not found"
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 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 25
3
More on routing, relative_root and facebooker
Hey there!
I would like the discussion to continue on how facebooker handles
routes, as it appears that there is an unsolved issue.
Mike, I read your recent reply involving setting facebook''s
callback_path to the root of the rails app, and adding a route to
catch all calls to the app root where canvas => true.
I just want to point out this is counterintuitive to some folks and
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
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
2008 Aug 21
4
forgery Protection
Has anybody solved this issue. [
http://rubyforge.org/pipermail/facebooker-talk/2008-April/000552.html ] ?
NameError (undefined local variable or method `controller'' for
#<LeaveController:0xb7144abc>):
/app/controllers/application.rb:24:in `verify_authenticity_token''
2008 Mar 14
8
Facebooker updates
I just went through and cleaned out most of the bugs and patches. I
also added a facebooker.js file that implements enough of prototype to
do $() and link_to_remote with :update and remote_form_for with :update
Let me know if you run into any issues with it.
Mike
--
Mike Mangino
http://www.elevatedrails.com
2008 Jan 28
3
A style question
I''m working on the ability to share a single session between Facebook
and Non-Facebook requests. Right now, to setup a shared session, you
create a link like:
<%= link_to "Non-Facebook
view",leaders_url(facebook_session_parameters.merge(:canvas=>false))%>
The facebook_session_parameters includes all of the necessary info. Is
this okay, or would it be better as
2008 Jun 28
5
asset_host?
Hi there,
I''m wrapping 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
2008 Mar 06
5
Setting :canvas => false for URL generation doesn''t always work?
I generate a lot of URL''s in my Facebook related code that point to our main
site, not our FB app. My understanding was that the way to do this was to
use ":canvas => false" as a parameter to url_for and link_to and so on.
However, that doesn''t seem to generate the proper URL''s. The URL''s still
point to apps.facebook.com (because they
2008 Apr 03
3
routes.rb definitions not working???
Hello Eveyone,
I am new here, and am have no idea how to setup routes in the routes.rb file
while using fbml. The regular
map.resources :gifts
map.resources :wishlists
map.resources :invitations
map.resources :comments
does not work.
This tutorial
http://rfacebook.wordpress.com/2008/02/04/quickstartfacebooker/
says to create a map.root, such as the one mentioned "map.root
2008 Jan 25
8
simple routing & linking question
So I have an existing app & facebook app in same rails application,
for now I have decided to go the route of creating a controller for
facebook stuff (called FaceController).
(setup is canvas, fbml)
So I have:
facebook config
http://myurl:myport/face/
My controllers name is face, so I dont even need a manual route, for
the landing page it works like a charm.
but, when I try to make
2008 Jan 24
12
getting started with facebooker
Hi,
I started with rfacebook but given the recent events figure its best
to move over to facebooker.
I have:
1.) Installed the facebooker plugin
2.) setup my facebook app (fbml/canvas)
3.) created a method on controller & view to handle initial request
4.) added "ensure_application_is_installed_by_facebook_user" to top
off application.rb
I am able to get to my landing page
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
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
{:action=>"new",
2007 Dec 08
3
Uploading photos using facebook & attachment_fu
Hi All,
I''m trying to use a form to upload a photo that I will save using
attachment_fu. I''m very new to Facebookr so I apologize if this is covered
somewhere, but I''m kind of stumped.
Here''s what I''m doing now:
<% facebook_form_for(:my_object, :url => { :action => ''upload_photo'', :id =>
params[:id] }, :html => {
2008 Mar 24
2
link_to_remote and restful routes/urls
is there a way to access a restful resource with mike''s new
link_to_remote helper?
something like:
<%= link_to_remote h(user.name),
:update => "div_id",
:url => user_url(user) %>
of course, that doesn''t work.
i have also been trying things like:
:url => controller.asset_host +
2007 Nov 09
2
Helpers and URL Rewriting
Hey folks,
I''m part way through a project using, I think rev 73 of Facebooker,
and was getting along pretty well. I''ve since tried the latest rev
(86) and have run into a few problems.
First one was with the helpers in that for some reason now none of
them are available so I''ve had to use helper :application, etc in my
controller.
Second one, which
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 Jan 11
18
getting started
Hey all,
Been reading through all the old posts (and the docs) to familiarize
myself but I still feel a bit lost.
I''m on trunk and am having a bit of a hard time knowing where to start
with the particular I''m trying to solve.
So far, I''ve downloaded backgroundrb, done the basic rails setup,
created my worker and started it using `script/backgroundrb start`.