Maybe I already found the answer on Google, but I don’t recognize it, so I resort to you guys.
What packages do I need? The tutorial would be awesome. Thanks in advance!
A package such as this django-socialregistrationwill allow you to authenticate with both.
django-socialregistration
Alternatively, you can use your own option:
python-sdk
python-twitter
Do you want Twython:
https://github.com/ryanmcgrath/twython-django/blob/master/twython_django_oauth/views.py
Believe me, I have been along this path, and the Django example in the link above is the simplest of twitter oauth2 examples.
See also https://github.com/ryanmcgrath/twython
Source: https://habr.com/ru/post/1785471/More articles:popup загружается после загрузки страницы, не может подключить datepicker в текстовое поле? - jqueryJava Как этот код интерфейса действительно работает? - javaHow to add the link "Microsoft.VisualStudio.TeamSystem.Data.UnitTesting" - c #Rails using multiple table names, although I told them to use singular - databaseSQL query error - need fresh eyes - sqlTesting a servlet - javaSelecting audio files using Intent.createChooser does not work with all phones - androidiPhone SDK SDL_openAudio with multitasking support - objective-center default values in Spring bean with annotation - javaiOS: pop-up menu does not behave according to the set of first responders - iosAll Articles