set_scopes function

Scopes of the OAuth2 token

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)

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.

Returns

A character with all the possible scopes or those allowed.

Examples

set_scopes()

References

https://developer.twitter.com/en/docs/authentication/oauth-2-0/authorization-code

  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24