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 unfortunately means I think I''ll have to switch back to the older revision is with the URL rewriting. I''m writing an application that''s available outside of Facebook too and I''m finding that on non canvas pages my canvas path still is being added to all my generated URLs. In addition, with my stylesheet the basename had been substituted too. The svn logs suggested that possibly work on the URL rewrite might not be complete, is that the right assumption? Anyway, I hope this is the best way to let you know these sorts of things. All is pretty quiet on the bug tracker and here on the mailing list so I''m guessing some of you are communicating directly. My ruby skills are still pretty amateurish so doubt I''ll be able to contribute any code but if this sort info is of help then maybe I''ll be able to help with some testing. Cheers, Jon
Oops. At least part of that was my fault. I broke the helper and layout loading. I''ll get that fixed and checked in shortly. Is it a problem to have the canvas path added to your non-facebook URLs? How would you determine which links should have the canvas path added and which should not? Mike On Nov 9, 2007, at 12:58 PM, Jon Gilbraith wrote:> 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 unfortunately means I think I''ll have to switch > back to the older revision is with the URL rewriting. I''m writing an > application that''s available outside of Facebook too and I''m finding > that on non canvas pages my canvas path still is being added to all > my generated URLs. In addition, with my stylesheet the basename had > been substituted too. The svn logs suggested that possibly work on > the URL rewrite might not be complete, is that the right assumption? > > Anyway, I hope this is the best way to let you know these sorts of > things. All is pretty quiet on the bug tracker and here on the > mailing list so I''m guessing some of you are communicating directly. > > My ruby skills are still pretty amateurish so doubt I''ll be able to > contribute any code but if this sort info is of help then maybe I''ll > be able to help with some testing. > > Cheers, > > Jon > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
Hey Mike, Currently I define a custom mime type for fbml then have two sets of views and use respond_to in the controller to separate the logic. So the last piece of my puzzle is to deal with the routing. What I''ve done so far is to write a method which I wrap my *_path calls with to modify the url before it''s sent to link_to, redirect_to, etc. So, what I thought might be appropriate would be to check request_is_for_a_facebook_canvas? and if true modify the route appropriately in url_for, but if not then to leave it as it is. I imagine though that this wouldn''t work with iframe apps so I''m not so sure what''s best. Unfortunately I''ve not been able to find too much material on writing apps that exist inside as well as outside of facebook so I''m still trying to work out what I should be dealing with myself and what''s expected to be performed by a plugin. What do you reckon? Jon On 9 Nov 2007, at 20:49, Mike Mangino wrote:> Oops. At least part of that was my fault. I broke the helper and > layout loading. I''ll get that fixed and checked in shortly. > > Is it a problem to have the canvas path added to your non-facebook > URLs? > > How would you determine which links should have the canvas path > added and which should not? > > Mike > > On Nov 9, 2007, at 12:58 PM, Jon Gilbraith wrote: > >> 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 unfortunately means I think I''ll have to switch >> back to the older revision is with the URL rewriting. I''m writing an >> application that''s available outside of Facebook too and I''m finding >> that on non canvas pages my canvas path still is being added to all >> my generated URLs. In addition, with my stylesheet the basename had >> been substituted too. The svn logs suggested that possibly work on >> the URL rewrite might not be complete, is that the right assumption? >> >> Anyway, I hope this is the best way to let you know these sorts of >> things. All is pretty quiet on the bug tracker and here on the >> mailing list so I''m guessing some of you are communicating directly. >> >> My ruby skills are still pretty amateurish so doubt I''ll be able to >> contribute any code but if this sort info is of help then maybe I''ll >> be able to help with some testing. >> >> Cheers, >> >> Jon >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk > > -- > Mike Mangino > http://www.elevatedrails.com > > > !DSPAM:4734c80c136991557044017! > >