set_scopes: Scopes of the OAuth2 token

View source: R/scopes.R

set_scopesR 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()

rtweet documentation built on May 29, 2024, 7:47 a.m.