We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
code copied as is produced the error
I resolved it by changing the first line from : access_token = login_session['access_token'] to access_token = login_session.get('access_token')
The text was updated successfully, but these errors were encountered:
The correct way to fix it is to add line login_session['access_token'] = token to fbconnect() function in project.py
Sorry, something went wrong.
I tried the second solution (adding the line login_session['access_token'] = token) in my code but got the same original error.
The first solution is working for me (using the get() method).
No branches or pull requests
code copied as is produced the error
I resolved it by changing the first line from :
access_token = login_session['access_token']
to
access_token = login_session.get('access_token')
The text was updated successfully, but these errors were encountered: