Displaying 2 results from an estimated 2 matches for "facecontroller".
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 links:
<fb:tab_item
href="http://apps.facebook.com<%= url_for(:con...
2008 Jan 24
12
getting started with facebooker
...in rfacebook,
so I don''t think its an environmental thing.
What could I be doing wrong?
Also, I have done some reading on issues with running a non facebook
application with this setup on same application, what should I do?
a.) Create a subclass of my ApplicationController called
FaceController to do all the facebook related stuff?
b.) Is there a way to do an if around
"ensure_application_is_installed_by_facebook_user" so that it is only
enforced if coming from facebook?
Does anyone have an example app, example code of how to do common
things?, I looked through kitchen si...