File: set_scopes.Rd

package info (click to toggle)
r-cran-rtweet 2.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,068 kB
  • sloc: sh: 13; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 763 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scopes.R
\name{set_scopes}
\alias{set_scopes}
\title{Scopes of the OAuth2 token}
\usage{
set_scopes(read = TRUE, write = TRUE, tweet_moderate = TRUE, regenerate = TRUE)
}
\arguments{
\item{read}{Allow to read.}

\item{write}{Allow to write/manage?}

\item{tweet_moderate}{Allow to hide or show replies to your Tweets.}

\item{regenerate}{Allow to use the token for more than 2 hours.}
}
\value{
A character with all the possible scopes or those allowed.
}
\description{
Permissions given to a token of a Twitter account.
By default it allows everything.
}
\examples{
set_scopes()
}
\references{
\url{https://developer.twitter.com/en/docs/authentication/oauth-2-0/authorization-code}
}