Facebook-PHP-SDK |
[eluser]ibnclaudius[/eluser]
I'm developing a simple authentication trough Codeigniter 2.1.2 and Facebook-PHP-SDK 3.1.1, but I have no idea why it's now working. I've downloaded all files from the src folder (https://github.com/facebook/facebook-php...master/src) into my libraries. The login seems to be working, but when the user is redirected back to my website, the Facebook getUser() function always returns 0! Code: <?php
[eluser]Jason Hamilton-Mascioli[/eluser]
Please try my facebook codeigniter starter kit and maybe it may help figure out your issue ... https://github.com/hamiltonmascioli/face...xample.php
[eluser]Jason Hamilton-Mascioli[/eluser]
For your specific issue try reading ... http://stackoverflow.com/questions/70476...login-does This has also worked ... Code: adding FB.api('/me', function(response) { to the login |
Welcome Guest, Not a member yet? Register Sign In |