omab/django-social-auth — Issue #256: HTTP 400 error: /facebook/complete
Author: tijs
Created: 2012-02-17 10:00:35+00:00
State: open

I'm getting this HTTP 400 error (bad request) only for people who have never used my app before; The traceback is here: http://pastebin.com/cVhq1vbi

I'm afraid it's a copypaste from Sentry so not as readable as usual but it shows the auth_complete method is unable to get something (?) from the grap api. This is the method and the variables used:

response = cgi.parse_qs(urlopen(url).read())

and the vars:

url: 'https://graph.facebook.com/oauth/access_token?code=AQBNkj6Brczp6TbGtJb4nPUmu6_GTocpINc2uf_uKF6DazEsxcTFlKo_ZD2EZys9U6w8NLqcOuo7zs0nR8Y0ligExB1WG7nSrQS-BJ_x6s2Xi756TRECBrFhirJCQK-XzhnPASm9lETXaudMmLNsS...'

self: ''

args: []

kwargs: {'request': "