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
HTTPError at /complete/facebook/ when trying to connect to Facebook. #207
Comments
Could you paste the full traceback? I wan't to see the calls chain. |
Environment: Django Version: 1.5.5 Traceback:
Exception Type: HTTPError at /complete/facebook/ |
Thanks, one last value, try getting the URL that's trying to open (it should start with |
url |
Did previous value of any use ? |
It did and looks like the server request is OK, I'm still trying to figure out were it's breaking. |
ok thanx On 10 March 2014 23:01, Matías Aguirre notifications@github.com wrote:
Regards |
@psych0der, I'm still unable to reproduce the issue, I've created a new Facebook application from scratch, filled all the values and it worked, in the process I've noticed that Facebook doesn't allow I'm gonna keep looking but could you try with a new application and provide some example code to reproduce the issue? |
@omab, thanx for that. I tried example app bundled with python social auth Can you please re mention Facebook details which I need to fill in while On Saturday, March 15, 2014, Matías Aguirre notifications@github.com
Regards |
@psych0der, there were the details I needed to fill:
Finally copied |
Thanx a lot @omab. The issue was, I had registered app using localhost as Thanx again :) On 15 March 2014 12:07, Matías Aguirre notifications@github.com wrote:
Regards |
I've changed the docs at http://psa.matiasaguirre.net/docs/backends/facebook.html Thanks! |
I got same issue with steam . |
I am keep getting this 400 Client Error: Bad Request whenever I try to connect to Facebook through python social auth. I have entered correct parameter in Facebook app settings ( localhost:8000 as site URL).
Here's the exception stack :
HTTPError at /complete/facebook/
400 Client Error: Bad Request
Request Method: GET
Request URL: http://localhost:8000/complete/facebook/?redirect_state=znj2c5EEL42tSm7bteQF2HtgOFyDKEDD&code=AQBeVfYEcNM6ehAVgfOLx3B1GHEu48-V8zRh8l-pLvo8Kn43_x85XvFwVDsXsG1i7UWoA56zgbPNKmCMS7veZV85aamR_unPH1lTGmI3H18tf_CiAuLP9kMyDdeumIPtQeIkOnSO6BCivIVfp1TwezoQlpR8Dwksh8aZ389GzEcXeAhf28fzWU9YYs52sIg8zbJ-CQjFk18igGrpj0Iz4Agzxe1LyaiYtOAB8wxkzbfgVYm7s9FBYSKZ-Y0O5OiNTx5-8t0fEcYs2tu2YwssP9A6nXyM58bLWZmVyFZqmbILJxI8yP-dbJ_SkWn0sVFUVxc&state=znj2c5EEL42tSm7bteQF2HtgOFyDKEDD
Django Version: 1.5.5
Exception Type: HTTPError
Exception Value:
400 Client Error: Bad Request
Exception Location: /Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7/site-packages/requests/models.py in raise_for_status, line 773
Python Executable: /Users/mayankbhola/nobles0ul_progr/venvs/resumizr/bin/python
Python Version: 2.7.6
Python Path:
['../..',
'/Users/mayankbhola/Downloads/python-social-auth-master/examples/django_example',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7/site-packages/mongoengine-0.8.7-py2.7.egg',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7/site-packages/pymongo-2.6.3-py2.7-macosx-10.9-x86_64.egg',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python27.zip',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7/plat-darwin',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7/plat-mac',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7/lib-tk',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7/lib-old',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7/lib-dynload',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/Users/mayankbhola/nobles0ul_progr/venvs/resumizr/lib/python2.7/site-packages']
Server time: Wed, 5 Mar 2014 08:00:44 -0200
The text was updated successfully, but these errors were encountered: