Summary
In this chapter, we covered the basic functions of Twitter API from signing in with OAuth to location trends and how to perform simple queries. Then, we introduced the concepts of sentiment classification and developed a basic sentiment-analysis tool for tweets. There are a lot of ways to improve the classifier such as getting a bigger corpus and performing more complex queries. However, the accuracy of the example is good for educational propose.
In the next chapter, we will present the basic concepts of MongoDB and how we can perform aggregation queries with large amount of data.