Chapter 5. Twitter: The Tweet, the Whole Tweet, and Nothing but the Tweet
Tweet and RT were sitting on a fence. Tweet fell off. Who was left?
In this chapter, weâll largely use CouchDBâs map/reduce capabilities to exploit the entities in tweets (@mentions, #hashtags, etc.) to try to answer the question, âWhatâs everyone talking about?â With overall throughput now far exceeding 50 million tweets per day and occasional peak velocities in excess of 3,000 tweets per second, thereâs vast potential in mining tweet content, and this is the chapter where weâll finally dig in. Whereas the previous chapter primarily focused on the social graph linkages that exist among friends and followers, this chapter focuses on learning as much as possible about Twitterers by inspecting the entities that appear in their tweets. Youâll also see ties back to Redis for accessing user data you have harvested from Chapter 4 and NetworkX for graph analytics. So many tweets, so little time to mine themâletâs get started!
Note
It is highly recommended that you read Chapters 3 and 4 before reading this chapter. Much of its discussion builds upon the foundation those chapters established, including Redis and CouchDB, which are again used in this chapter.
Pen : Sword :: Tweet : Machine Gun (?!?)
If the pen is mightier than the sword, what does that say about the tweet? There are a number of interesting incidents in which Twitter has saved lives, one of the most notorious being James Karl Buckâs ...
Get Mining the Social Web now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.