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