8.26 Exercise 8: Twitter’s REST API
In this exercise we’ll have a closer look at some of the Schweizer Bundesräte. As it happens not all of them have a personal Twitter account. We’ll have a closer look at J N Schneider-Ammann, Alain Berset and Ignazio Cassis.
- We start by extracting some information from the user profiles. How many followers and friends do the three politicians have? And who has the most followers?
- Download the 100 most recent tweets for all three accounts. What are the most common hashtags that the politicians used?
- Pick a person that interests you and who has a twitter account (e.g. Beyonce ;-)). Answer questions 1. and 2. for that person.