Trying to find other ways to redirect (facebook + CI = pain) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Trying to find other ways to redirect (facebook + CI = pain) (/showthread.php?tid=30469) |
Trying to find other ways to redirect (facebook + CI = pain) - El Forum - 05-16-2010 [eluser]coldclimate[/eluser] I've been battling with this for a little while, and it's definetly a clash between FB and CI, not a CI problem, looking for any other ideas. I have a form which submits to /search/results which grabs the POST variable, and then redirects to /search/results/what-you-searched-for (eg. the submitted [phrase rewritten with dashes for spaces). A route then picks this up and handles it using a function. FB seems to get annoyed with the redirect, and I've tried everything I can think of. Anybody got any ideas on other ways to do a redirect (so I get "real" urls) other than this method? http://apps.facebook.com/[myappname]/search/ submits to http://apps.facebook.com/[myappname]/search/results which causes FB to spit out Quote:Errors whilst loading page from application But then if you paste in http://apps.facebook.com/wishlistoli/search/results/what-you-searched-for to the URL bar, the page renders just fine. The code in search is as follows: Code: function results(){ Any ideas? Trying to find other ways to redirect (facebook + CI = pain) - El Forum - 08-04-2011 [eluser]JohnnyAction[/eluser] Have you found a solution to this problem? It sounds similar to the issue I'm having here: http://forum.developers.facebook.net/viewtopic.php?id=107409 Trying to find other ways to redirect (facebook + CI = pain) - El Forum - 08-05-2011 [eluser]coldclimate[/eluser] I did but you won't like it.... I left the company shortly after. It was during a time when FB were transitioning so much stuff (canvas vs iframe, old API vs new etc) that everything was like pulling teeth. Sorry fella, bets of luck. Trying to find other ways to redirect (facebook + CI = pain) - El Forum - 08-05-2011 [eluser]JohnnyAction[/eluser] Yikes, thanks anyway. I think I fixed it by re-copying all my CI files to the webserver. Since then everything seems to work okay. |