Tweetstorm
Command line tool that takes a text of arbitrary length as input and produces a stream of tweets from it.
Installation
Download this repository and run python setup.py install
Observations: Still gotta test on Windows and fresh python installations
Usage
-
Register a Twitter application. A good guide can be found here
-
Set the following environment variables with the values from your application:
- TWITTER_CONSUMER_KEY
- TWITTER_CONSUMER_SECRET
- TWITTER_ACCESS_TOKEN
- TWITTER_ACCESS_TOKEN_SECRET
-
Now, you can use it like this:
tweetstorm filename
to tweet the contents of a file calledfilename
. If it doesn't findfilename
then it will do it like this:tweetstorm 'Can I haz cheezburger? Yes you can cutie patootie.'
where it will tweet the value of the command line argument.