Twitter is one of the most powerful social platforms to tap into because 1) Tweets are concise and standardized, and 2) Tweets are transparent and open for all to access and use. Many companies have developed ways of collecting and analyzing tweets to create useful insights about what is being discussed on Twitter.
|I started reading the excellent Mining the Social Web by Matthew Russell published by O’Reilly, one of my favorite publishers of technology books. The book discusses how the incredible social data from Facebook, Twitter, LinkedIn, and other social media sites can be programmatically accessed and harvested for later research and analysis.
(If you are interested, you can follow the author of this book on Twitter @ptwobrussell and @SocialWebMining)
Chapter one discusses how to access Twitter through a command line interface and Python using Mike Cardone’s Python Twitter Tools.
After being sure that easy_install was working (and knowing that Python was already running on my Mac OS X laptop), It was easy enough to get PTT installed – using Terminal (the Mac OS X command line terminal emulator), I just typed in:
$ easy_install twitter
$ twitter set “Class work day in #unidigadv #blogging #tweeting”
One quick command, and a second later, my tweet was live:
Now that’s a pretty cool party trick, but the real power of accessing data from the social web lies in integrating the Twitter API with a programming languages like Python or Ruby to gather, analyze, and visualize the data in interesting ways.
If you’re interested in learning more, check out this book – or its companion volume, 21 Recipes for Mining Twitter.