Twitter API#
Choose a Twitter account (preferably an active account with English tweets) other than Barack Obama’s account (since we used his account as an example in our lecture).
Use the function
search_recent_tweetsto obtain tweets from the last 7 days (includetweet_fields:author_id,created_at).Don’t include retweets in your results.
Limit the result to a maximum of 100 Tweets.
Create a Pandas Dataframe and save your results as a CSV-file.
Upload your ipynb file and CSV to Moodle