Scopes of the OAuth2 token
Permissions given to a token of a Twitter account. By default it allows everything.
set_scopes(read = TRUE, write = TRUE, tweet_moderate = TRUE, regenerate = TRUE)
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.A character with all the possible scopes or those allowed.
set_scopes()
https://developer.twitter.com/en/docs/authentication/oauth-2-0/authorization-code
Useful links