public function getAccessTokenFromRedirect($callback_url = '')
    {
        $callback_url = $this->getCallbackUrl($callback_url);

        return $this->getRedirectLoginHelper()->getAccessToken($callback_url);
    }
public function getAccessTokenFromRedirect($callback_url = '')
    {
        $callback_url = $this->getCallbackUrl($callback_url);

        return $this->getRedirectLoginHelper()->getAccessToken($callback_url);
    }
public function getAccessTokenFromRedirect ( $ callback_url = '' ) { $ callback_url = $ this -> getCallbackUrl ( $ callback_url ) ; return $ this -> getRedirectLoginHelper ( ) -> getAccessToken ( $ callback_url ) ; }
Get an access token from a redirect.

@param string $callback_url
@return \Facebook\Authentication\AccessToken|null
Get an access token from a redirect .