• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facebook/CI devs - Enable Query String must be TRUE or...?

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

#2
[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

#3
[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

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.