You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to facebooker
I started developing facebook app within an existing app and I am
having some trouble with my links. I direct my canvas page
http://apps.facebook.com/karlbook/ to the
worth_causes_controller#index action:
I am having trouble understanding how to create links properly when
the canvas page does not map to the root route.
thx.
-karl
Mike Mangino
unread,
Dec 16, 2009, 11:40:37 AM12/16/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to faceb...@googlegroups.com
Your callback url should go to the root of the rails app. We don't support pointing at only one controller. You can handle the root url using the :canvas routing conditional.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to faceb...@googlegroups.com
My problem is that in my existing rails project, the root url is pointing at
the default location for our website. For backwards compatibility reasons,
I cannot point our canvas page at the root url. Is the only option then to
start a brand new rails project when developing using facebooker?
Also, I am not quite sure how the :canvas option helps.
Thanks for help!
-karl
Mike Mangino
unread,
Dec 16, 2009, 11:55:44 AM12/16/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to faceb...@googlegroups.com
On Dec 16, 2009, at 11:55 AM, Karl Baum wrote:
> My problem is that in my existing rails project, the root url is pointing at
> the default location for our website. For backwards compatibility reasons,
> I cannot point our canvas page at the root url. Is the only option then to
> start a brand new rails project when developing using facebooker?
Sure you can. You can have / point to different controllers depending upon whether the route is from a canvas url or not. It's an option in the :conditions part of routing. It's covered in my book.
Mike
Karl Baum
unread,
Dec 16, 2009, 12:05:52 PM12/16/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to faceb...@googlegroups.com
Oh ok. I will take a look at the book. Thanks again!