Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Addinng state after $helper = $fb->getRedirectLoginHelper(); #1218

Open
adeliofioritto opened this issue Jan 10, 2021 · 0 comments
Open

Addinng state after $helper = $fb->getRedirectLoginHelper(); #1218

adeliofioritto opened this issue Jan 10, 2021 · 0 comments

Comments

@adeliofioritto
Copy link

adeliofioritto commented Jan 10, 2021

In php-graph-sdk/docs/examples/facebook_login.md , it's needed to add state after $helper = $fb->getRedirectLoginHelper();

if (isset($_GET['state'])) {
$helper->getPersistentDataHandler()->set('state', $_GET['state']);
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant