Having all required authorization keys, we can prepare the toolset for data retrieval. The Twitter API gives several ways to extract the data, but we will focus on two main methods:
- Keyword search query to obtain recent, historical tweets
- Streaming facility, to obtain tweets as they are posted