2👍
A package such as django-socialregistration
would allow you to authenticate with both.
Alternatively, you could roll your own using one of these:
1👍
You want Twython:
https://github.com/ryanmcgrath/twython-django/blob/master/twython_django_oauth/views.py
Believe me, I have been down this road, and the example Django views in the link above are the most straightforward of twitter oauth2 examples.
- [Django]-Django request threads and persistent database connections
- [Django]-What exactly is meant when mr.developer says "The package 'django-quoteme' is dirty."
- [Django]-Why are form field __init__ methods being called on Django startup?
Source:stackexchange.com