1

Facebook Login Error Assert access-token is none.
 

it seems everything is configured perfectly. But I wonder why they can't get access-token. I got warning from sanction library:

warn('sanction.client.Client is deprecated, please use sanction.Client')
it seems our code is out up date.
AssertionError at /account/signin/complete-oauth2/
No exception message supplied
Request Method: GET
Request URL:     /account/signin/complete-oauth2/?code=AQCZs-Vol2DIevS-AeV3nmzNycUj75rdqpg9bvK7fNqrxtYRzRPVJNWxpZztPXZorqg8wfutFJ_tFuskis1mnazVWw
Django Version: 1.8.18
Exception Type: AssertionError
Exception Location: /Users/dhluong/mylab/aenv/lib/python2.7/site-packages/sanction/client.py in request_token, line 126
Python Executable:  /Users/dhluong/mylab/aenv/bin/python
Python Version: 2.7.10
Python Path:    
['/Users/dhluong/mylab/adsbasics',
 '/Users/dhluong/mylab/aenv/lib/python27.zip',
 '/Users/dhluong/mylab/aenv/lib/python2.7',
 '/Users/dhluong/mylab/aenv/lib/python2.7/plat-darwin',
 '/Users/dhluong/mylab/aenv/lib/python2.7/plat-mac',
 '/Users/dhluong/mylab/aenv/lib/python2.7/plat-mac/lib-scriptpackages',
 '/Users/dhluong/mylab/aenv/Extras/lib/python',
 '/Users/dhluong/mylab/aenv/lib/python2.7/lib-tk',
 '/Users/dhluong/mylab/aenv/lib/python2.7/lib-old',
 '/Users/dhluong/mylab/aenv/lib/python2.7/lib-dynload',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
 '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
 '/Users/dhluong/mylab/aenv/lib/python2.7/site-packages',
 '/Users/dhluong/mylab',
 '/Users/dhluong/mylab/aenv/lib/python2.7/site-packages/askbot/deps']
Server time:    Tue, 16 May 2017 08:09:46 -0500

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
dhluong90's avatar
11
dhluong90
asked 8 years ago

Comments

see more comments

1 Answer

0

It seems like incorrect Token please issue new Facebook token for you and update the new token form your askbot settings panel More info about facebook tokens can be found on official facebook website

https://developers.facebook.com/docs/...

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
gopalraha's avatar
332
gopalraha
answered 7 years ago
link

Comments

see more comments