django - TypeError at /auth/login/twitter/ -



django - TypeError at /auth/login/twitter/ -

i've been trying add together log ins social networks 1 of django projects. works fine facebook twitter broken.

i maintain getting next error when seek auth twitter.

typeerror @ /auth/login/twitter/ sequence item 0: expected str instance, bytes found request method: request url: http://127.0.0.1:8000/auth/login/twitter/ django version: 1.6.5 exception type: typeerror exception value: sequence item 0: expected str instance, bytes found exception location: c:\users\cdegen\face\lib\site-packages\social_auth\backends\__init__.py in fetch_response, line 708 python executable: c:\users\cdegen\face\scripts\python.exe python version: 3.4.1 python path: ['c:/dev/django/face', 'c:\\program files (x86)\\jetbrains\\pycharm 3.4.1\\helpers\\pydev', 'c:\\dev\\django\\face', 'c:\\python34', 'c:\\windows\\system32\\python34.zip', 'c:\\python34\\dlls', 'c:\\python34\\lib', 'c:\\users\\cdegen\\face', 'c:\\users\\cdegen\\face\\lib\\site-packages'] server time: mon, 23 jun 2014 08:33:39 -0400

i have twitter backends added authentication_backends. have twitter_consumer_key , twitter_consumer_secret set.

i found solution. using django-social-auth3 python3 fork of django-social-auth. set new virtualevn using django-social-auth , able auth facebook, twitter , google+.

django twitter django-socialauth

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -