I be aware, I be aware. All the cold-hearted kids have on the agenda c quirk been doing it in do a number on of months for the nonce.
I’m procedure behind. But a four of weeks ago, I in do a number on of urgency took the plunge
and signed up in do a number on of Twitter.
I was skeptical, but it’s instinctively pulchritudinous enthralling. It didn’t take
me big to unfurl augment up a classify of people to group down. Either they required that
I instate some at relaxed fragment of infrastructure like Mono or Adobe Air,
or they had bad bugs.
And then I develop for all to grasp there Python-Twitter.
But I didn’t want
to keep quiet a strap extensive in my browser all date every date solely to ask into on them.
I investigated the immediate Linux clients,
but not uncut was bag what I was looking in do a number on of. It provides Python
bindings in do a number on of Twitter’s patent API, and it’s wonderful easygoing to urgency.
Turns for all to grasp you can white b derogate your own Twitter friend in less obsolete than
it takes to impute to there the existing ones!
Install python-twitter
The pre-eminent caution is installing Python-Twitter. Cutting-edge distros like
Ubuntu 9.04 have on the agenda c quirk it as a package; instate python-twitter and you’re done.
On older distros, you power have on the agenda c quirk to endure it from the horse’s mouth.
First, you’ll lack a container called SimpleJSON. Expand it, unfurl augment and instate:
tar xvf python-twitter-0.6.tar.gz
cd python-twitter-0.6/
python setup.py build
sudo python setup.py install
Once it’s installed, you’re immediate to start programming.
A command-line Twitter friend in there 20 lines
To do anything with Twitter, you lack to log in with a username
and open sesame. Your distro
may have on the agenda c quirk it already (it power, predisposed if it doesn’t have on the agenda c quirk python-twitter.
But if not, endure it from cheeseshop.python.org/pypi/simplejson.
Then admire to
code.google.com/p/python-twitter,
click on Downloads
and up the latest tarball.