Welcome Guest, Not a member yet? Register   Sign In
LogIn with Facebook
#4

(07-28-2017, 09:39 AM)Knutsford Wrote:
(07-28-2017, 09:17 AM)InsiteFX Wrote: Access Tokens
I was using the code from https://www.codexworld.com/facebook-login-codeigniter/ and when I traced it through using echos it didn't authenticate as there was no Access Token set. I have no idea why or where it is supposed to get it from. I would have thought there was a  call to facebook but I can't see one

In

FacebookRedirectLoginHelper.php


there is



Code:
 protected function getCode()
    {
        return $this->getInput('code');
    }




and




Code:
 private function getInput($key)
    {
        return isset($_GET[$key]) ? $_GET[$key] : null;
    }



What is suppose to doing the GET to get the value I have no idea. I can't find anything. Does anyone? If not can someone please point me in the direction of something that actually does work please.


Thanks
Reply


Messages In This Thread
LogIn with Facebook - by Knutsford - 07-28-2017, 04:49 AM
RE: LogIn with Facebook - by InsiteFX - 07-28-2017, 09:17 AM
RE: LogIn with Facebook - by Knutsford - 07-28-2017, 09:39 AM
RE: LogIn with Facebook - by Knutsford - 07-28-2017, 01:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB