I'm developing a WebApp with Codeigniter 3, Facebook SDK and this this library for manage the request.
Using the main tutorial for Facebook Login all things work fine. An example here:
<?php $login = $this->facebook->login_url(); ?>
<a href="<?=$login;?>"> Login with your Facebook account </a>
After that I can do any request with the access token.
With the new update, facebook apps must activate the Strict Mode for Redirect URIs. So in the developer portal I've activated my urls like this:
http://localhost/home/login
But when I try to log in, facebook response with
http://localhost/home/login?code=SOME_STRING_HERE&state=SOME_STRING_HERE#_=_
without any access token or valid session.
Am I skipping any steps?
With the same code, disabling Strict Mode for Redirect URIs all things work fine.
Thanks