CodeIgniter Forums
facebook sdk no longer works with codeigniter? - 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: facebook sdk no longer works with codeigniter? (/showthread.php?tid=49188)



facebook sdk no longer works with codeigniter? - El Forum - 02-10-2012

[eluser]Unknown[/eluser]
i downloaded and used the latest version of both codeigniter and the php sdk of facebook from git and running it on my server - when is end a user through the getloginurl method and then run getuser() nothing is returned- sames that no session data is added

but if i just run the examples listed in the sdk- they run fine- as soon as i drop the exact same code into a codeigniter method they dont work.

here is the setup

https://beta.exceleratedsolutions.com/testfb/welcome/testfb/

anyone else had this issue? these are straight out of the box installs- i havent done anything to em

here is the standard example that comes with the fb sdk

https://beta.exceleratedsolutions.com/testfb/examples/example.php


facebook sdk no longer works with codeigniter? - El Forum - 02-10-2012

[eluser]mast3rpyr0[/eluser]
Both of those examples seem to produce the same output, minus the users photo in the second link.

Can you post any relevant code?


facebook sdk no longer works with codeigniter? - El Forum - 02-12-2012

[eluser]Unknown[/eluser]
i have posted the same issue on stack overflow with code

http://stackoverflow.com/questions/9229468/no-access-token-or-session-initiated-when-passing-user-through-facebook-getlog