Chapter 2.  #MiningTwitter – Hashtags, Topics, and Time Series

This chapter is about data mining on Twitter. The topics covered in this chapter include the following:

  • Interacting with the Twitter API using Tweepy
  • Twitter data - the anatomy of a tweet
  • Tokenization and frequency analysis
  • Hashtags and user mentions in tweets
  • Time series analysis

Getting started

Twitter is one of the most well-known online social networks that enjoy extreme popularity in the recent years. The service they provide is referred to as microblogging, which is a variant of blogging where the pieces of content are extremely short-in the case of Twitter, there is a limitation of 140 characters like an SMS for each tweet. Different from other social media platforms, such as Facebook, ...

Get Mastering Social Media Mining with Python now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.