CodeIgniter Forums
Facebook/CI devs - Enable Query String must be TRUE or...? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Facebook/CI devs - Enable Query String must be TRUE or...? (/thread-9355.html)



Facebook/CI devs - Enable Query String must be TRUE or...? - El Forum - 06-22-2008

[eluser]spherop[/eluser]
so far i have been working under the assumption that I would have to set enable_query_string = true in order to handle Facebook's auth strings etc.

but i am new to CI ...so if someone has successfully stuck with CI segment urls in FB app dev, please inform.


Facebook/CI devs - Enable Query String must be TRUE or...? - El Forum - 06-22-2008

[eluser]Colin Williams[/eluser]
If you plan on using the pre-rolled PHP library that Facebook provides, then yes, you must set enable_query_string to TRUE. And were you to roll your own, I don't see how you could not use this setting, since it using the query string extensively.

On another note, I recently built a small Fb app on CI and it was splendid Smile


Facebook/CI devs - Enable Query String must be TRUE or...? - El Forum - 06-23-2008

[eluser]Seppo[/eluser]
You could try with enable_query_string FALSE and using PATH_INFO as protocol... I believe GET data works with that config and allows CI usual URIs


Facebook/CI devs - Enable Query String must be TRUE or...? - El Forum - 06-23-2008

[eluser]Colin Williams[/eluser]
If I remember correctly, CI will empty $_GET if enable_query_string is FALSE.