You can retrieve historical Tweets and other Twitter data. First, you must have Twitter credentials. For credentials, log in to your Twitter account and seeCreate an application. Then, create a Twitter connection object and search for historical Tweets using thesearch
function. Use thegetdata
andpostdata
functions to retrieve other Twitter data, Tweet®, and access the Twitter REST API GET and POST endpoints.
Conduct Sentiment Analysis Using Historical Tweets
Determine the amount of positive and negative sentiment among retrieved Tweets using a glossary of keywords.
Tweet Based on Retrieved Twitter Data
Post Tweets based on the number of followers for a specified account.