< Back
Page 10 of 10
This chapter is from the book
Exercises
- Amend the example available in the book’s code examples as hour14/example02 to display the user’s real name and URL. Consult the data structure earlier in this hour to understand which attributes you need for this.
- Amend the server to receive data from Twitter’s streaming API based on some keywords that you are interested in. If there are more than two keywords, update the application to show more than two bars on the graph.
- Think about how you could create an application to provide visualizations of different streaming Twitter datasets. Remember that you can limit your query by location, certain users, and keywords. Some examples to get you started:
- Do people talk more about beer or wine in London?
- How often do famous people use the words “me” or “you”?
- Are the Beatles more popular than the Rolling Stones?
< Back
Page 10 of 10