Main Content

Twitter

Historical Tweets and access to Twitter®REST API endpoints

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 thesearchfunction. Use thegetdataandpostdatafunctions to retrieve other Twitter data, Tweet®, and access the Twitter REST API GET and POST endpoints.

Functions

twitter Twitterconnection object
search Search for Tweets
getdata 检索Twitterdata
postdata PostTwitterdata

Topics

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.