Hi! I'm just getting into the 2.0 release while building a Facebook app 
and am puzzled by something.

Right now I have some content, served up by a Directory, at a location 
like this:

     http://example.com/welcome/


Outside of the Facebook context, this is fine. However, the way I'm 
doing the Facebook app, my pages appear inside an iframe on Facebook's 
page. To pass along context information, they add a bunch of parameters 
to the URL, so it looks something this:

     
http://example.com/welcome/?fb_sig_in_iframe=1&fb_sig_iframe_key=...&fb_sig=fe82...ec467a9e


The DirectoryServerResource decides that since that doesn't end in a 
slash, it couldn't possibly be a directory, and so throws a slash on the 
end and issues a 303. That seems weird to me, but I'm not sure if this 
is just an odd use case not yet supported, or if there's something 
irredeemably wrong about the Facebook approach. Or, most likely, that 
I'm not using Restlet in the right way, and that I should be approaching 
things differently.

Any thoughts on how I should handle this?

William

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2625164

Reply via email to