Post to Facebook / Twitter with Django?

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!

+3
source share
2 answers

A package such as this django-socialregistrationwill allow you to authenticate with both.

Alternatively, you can use your own option:

+2
source

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

+1
source

Source: https://habr.com/ru/post/1785471/


All Articles