Twitter API: Up and Running Learn How to Build Applications with the Twitter API, 1st edition
Authors: Kevin Makice
Venue:  (2009)

The purpose of Twitter API: Up and Running is to provide an introduction to using the Twitter API--the means to get at the rich Twitter data--to build web applications. This book has three main parts: an overview of the Twitter ecosystem and culture; background information on the languages and environment you need to create your applications; and working code for a suite of sample applications meant to get you started on your programming adventure. As Twitter lowers barriers to publication through its simplicity, so this book will provide easy access to the skills and resources you'll need to build web applications for its API. From Author Kevin Makice One of the strengths of Twitter is its flexibility. Every information stream is unique and can be customized in the way that best fits the individual at that moment. Are you getting too much information? Unfollow some people. Do you not have time to tweet? Dont. Want to chat with your two best buds for an hour and chase away all your other followers? Feel free. Because of this versatility, there are no universal rules for how to behave on Twitter; each user can control his own experience. Meet the Sample Apps This small suite of sample web applications is offered to you as a way to illustrate use of the Twitter API, the collection of web service methods that bring Twitter data into third-party programming. These applications explore some common reasons to access the API: Administration Tool A master account is needed to do things like send direct messages and conduct data mining on the backend. Unlike most of the user-driven tools, the master account must be available even when the account holder (you) isnt around to log in. This simple tool allows the master accounts password to be saved to the database in a safe way. Only you will use this tool. In fact, without knowing the password attached to the master Twitter account, others shouldnt be able to do anything with this application. Tweet Publisher This application is a straightforward status updater. To publish to your own timeline, enter your Twitter account information and a short 140-character message. After doing so, you will see a link to the new tweet. Auto Tweet Each member account can be associated with a single RSS or Atom feed, from which a new tweet will be automatically generated. There is an automated task associated with this application that checks each registered feed for new content in six-hour cycles and posts the most recent article. Tweet Broadcast This is an aggregation tool, where you can collect daily tweets from a handful of other Twitter members into a single RSS item. An RSS feed is generated that contains information for up to 20 days of activity, collected by an automated task that checks for new tweets once a day. Each member account can have one aggregation feed. Tweet Alert Tracking tweets based on keywords is made easy with the Twitter search API. Each member can list a few keywords in Tweet Alert and receive a notification when any of those terms appears in a public tweet. The content scans are performed every 15 minutes. If a match is foundand the member is following your master Twitter accounta direct message is sent to that member with a link to the search results. Network Viewer Probably the most useful among the suite of tools, this web application allows Twitter members to see the profile images of all the people theyre following. Private accounts are outlined in red, and (in most modern browsers) mousing over each picture reveals additional detail about that member. The ACM Portal is published by the Association for Computing Machinery. Copyright © 2010 ACM, Inc. Terms of Usage Privacy Policy Code of Ethics Contact Us Useful downloads: Adobe Acrobat QuickTime Windows Media Player Real Player