This Python source code for Twitter API is based on "Mining the Social Web (Second Edition) and provides sample code for accessing Twitter's API for development and oAuth access for production purposes, discovering trending topics, searching for tweets, constructing convenient function calls, saving and restoring JSON data with flat-text files, using MongoDB, sampling the Twitter firehose with the Streaming API, collecting time-series data, extracting tweet entities, finding the most popular tweet and tweets in a collection of tweets, tabulating frequency analysis, finding users who have retweeted a status, extracting a retweet attribution, making robust Twitter requests, resolving user profile information, extracting tweet entities from arbitrary text, getting friends and followers for a user, analyzing user's friends and followers, harvesting a user's tweet, crawling a friendship graph, analyzing tweet content, summarizing link targets, and analyzing a user's favorite tweet.
Sometimes we forget what the real purpose of all this fancy technology is. And what is that? To make our real lives easier. Mashups often help with that, allowing us to do such simple things as find a good beer, our favorite music artists, where the streetcars are, or where a park is.
Hellotxt, the service that lets you simultaneously update your status and read your friends' status across many services, has now released an API. There is a long list of microblogging and social networking sites that Hellotxt interacts with, ranging from Facebook and LinkedIn to of course Twitter and FriendFeed (see their home page below).