I recommend making a route to simulate a subdirectory.

Router::connect('/fb/:controller/:action/*');

And then chance your callback url in facebook to be

http://www.blah.com/fb/

If you want to see if someone has come in through the "fb" route, then
use this:

Router::connect('/fb/:controller/:action/*', array('fb' => 1));

Then in your controller do this:

if ($this->params['fb']){
 echo 'yay!';
}

Cheers,
Adam

On Mar 6, 1:08 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Has anyone developed a Facebook non-FBML, IFrame based application
> with Cake?
>
> I have been trying to kick start such an application but every time I
> try to add the application in facebook or login to the application,
> the facebook servers send the following http request to my server
> which confuses cake.
>
> http://myservername.com/?Fb_Sig_In_Iframe=1&Fb_Sig_Time=1204772387.6108...
>
> Cake would misunderstand the url and assume that it needs a controller
> called FbSigInIframe1fbSigTime1204772387.6108...Controller and throws
> a Missing Controller error. I am still quite new at Cake, so I
> appreciate any advice on how to solve this issue. A custom route
> configuration perhaps?
>
> Regards,
> Dave Kor.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to