Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost token after login #118

Open
IvanProdaiko94 opened this issue Oct 24, 2016 · 1 comment
Open

Lost token after login #118

IvanProdaiko94 opened this issue Oct 24, 2016 · 1 comment

Comments

@IvanProdaiko94
Copy link

Please help me!
I'd like to share post on facebook from my app. I'm logging in, but after I did it, I have to login it again to publish my fb post. Library encapsulate token in itself and I don't know where it loosing it(((

@Whoami000007
Copy link

openFB.init({appId: 'YOUR_ID_APP', tokenStore: window.localStorage});
This line to store the Facebook token in localStorage instead of sessionStorage.
I hope this helps you.

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

No branches or pull requests

2 participants