CodeIgniter Forums

Full Version: Facebook/CI devs - Enable Query String must be TRUE or...?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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

El Forum

[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

El Forum

[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

El Forum

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