Twitter connection object
Description
The twitter
function creates a
twitter
object, which represents a Twitter® connection, and includes support for authentication Oauth
1.0a.
To establish the connection, you must obtain these required credentials from Twitter:
Consumer key
Consumer secret
Access token
Access token secret
To obtain these credentials, you must first log in to your Twitter account. Then, fill out the form in Create an application.
After you create a twitter
object, you can use the object functions
to retrieve historical Twitter data with a Twitter connection. Or, you can retrieve other Twitter data by using the Twitter REST API to access other REST API endpoints.
Creation
Description
creates a Twitter connection using the consumer key, consumer secret, access token,
and access token secret.c
= twitter(consumerkey
,consumersecret
,accesstoken
,accesstokensecret
)
Input Arguments
Properties
Examples
Version History
Introduced in R2017b