![]() |
Multipage Facebook Api using CI - 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: Multipage Facebook Api using CI (/showthread.php?tid=30757) |
Multipage Facebook Api using CI - El Forum - 05-25-2010 [eluser]Unknown[/eluser] Initial rollout was a doddle with CI. Then I needed to add a second page. I can bring in the tabs from Fb using their <fb:tab-item> tags. However, I can't find a way to either redirect to a different function or set a different View depending on which page I'm on. If I use: apps.facebook.con/my_app/function I don't get the function back. If I use: apps.facebook.com/my_app?action=function, I don't get the $_GET['action'] var back. I've modded CI to include a hook to allow me to get my $_GET vars, which I can see if I exit( $this->input->get('action') ); but if I let it roll, i.e. use var_dump instead of exit, then the page refreshes back to the original Fb app without the $_GET parameter. Bleh. Any suggestions? TIA, John Anderson Soaring Penguin Ltd. EDIT: Got it! It was as Fb/CI/.htaccess issue. Well, that took long enough. |