How to tweet from Django?

I want to create a manage.py command that takes an object from a set of requests and puts it on my Twitter. I was going to use the curl method as described in here .

But since then, Twitter has disabled basic authentication. I don't want to install an overkill library like Tweepy, which allows people to authenticate on my site with oAuth, I just want to tweet. On one account.

+5
source share
1 answer

on twitter api page:

( ). . .

https://dev.twitter.com/apps,

, python-twitter

api = twitter.Api(consumer_key='consumer_key', consumer_secret='consumer_secret', 
          access_token_key='access_token', access_token_secret='access_token_secret') 
+4

All Articles