set_scopes {rtweet} | R Documentation |
Scopes of the OAuth2 token
Description
Permissions given to a token of a Twitter account. By default it allows everything.
Usage
set_scopes(read = TRUE, write = TRUE, tweet_moderate = TRUE, regenerate = TRUE)
Arguments
read |
Allow to read. |
write |
Allow to write/manage? |
tweet_moderate |
Allow to hide or show replies to your Tweets. |
regenerate |
Allow to use the token for more than 2 hours. |
Value
A character with all the possible scopes or those allowed.
References
https://developer.twitter.com/en/docs/authentication/oauth-2-0/authorization-code
Examples
set_scopes()
[Package rtweet version 2.0.0 Index]