Using Python with the Twitter API to publish tweets?

Are there any recommendations as to which python library to use to post tweets on twitter?

The ones I found

  • twython
  • PythonTwitter
  • TwitterAPI
  • Python Python Tools
  • Tweepy
  • Tweetpony
  • twitter-gobject

Does anyone know any good / best, or can anyone give me a simple example for posting on Twitter?

Thanks in advance - Hyflex

+4
source share
1 answer

Twython is pretty good and constantly updated. After the configuration steps, using it is as easy as:

from twython import Twython
twitter = Twython(APP_KEY, APP_SECRET
                  OAUTH_TOKEN, OAUTH_TOKEN_SECRET)
twitter.update_status(status='See how easy using Twython is!')
+10
source

All Articles