Analyzing the data
Let's get a first feel for the data extracted from each of the social networks and get an understanding of the data structure from each these sources.
Discovering the anatomy of tweets
In this section, we are going to establish connection with the Twitter API. Twitter offers two connection modes: the REST API, which allows us to search historical tweets for a given search term or hashtag, and the streaming API, which delivers real-time tweets under the rate limit in place.
In order to get a better understanding of how to operate with the Twitter API, we will go through the following steps:
- Install the Twitter Python library.
- Establish a connection programmatically via OAuth, the authentication required for Twitter.
- Search for recent ...