Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 see Create an application. Then, create a Twitter connection object and search for historical Tweets using the search function. Use the getdata and postdata functions to retrieve other Twitter data, Tweet®, and access the Twitter REST API GET and POST endpoints.

Functions

twitterTwitter connection object
searchSearch for Tweets
getdataRetrieve Twitter data
postdataPost Twitter data

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.

Was this topic helpful?