Summary

This chapter introduced some data mining applications using the Twitter data. We discussed how to register an application with the Twitter platform in order to get the credentials and interact with the Twitter APIs. We have considered different ways to download tweets, particularly using the REST endpoints to search for published tweets, and using the Streaming API to keep the connection open and collect upcoming tweets.

When observing the anatomy of a tweet, we found that a tweet is much more than 140 characters. In fact, it is a complex object with a lot of information in it.

The starting point of our analysis opened the discussion on frequency analysis based on entities. Our focus has been on hashtags, one of Twitter's peculiarities, ...

Get Mastering Social Media Mining with Python 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.