Welcome Guest, Not a member yet? Register   Sign In
Multipage Facebook Api using CI
#1

[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.




Theme © iAndrew 2016 - Forum software by © MyBB