File: bearer_token.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 (21 lines) | stat: -rw-r--r-- 859 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bearer_token.R
\name{bearer_token}
\alias{bearer_token}
\title{Bearer token}
\usage{
bearer_token(token = NULL)
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}

\code{bearer_token()} has been deprecated because it used a rather indirect
method of generating a bearer token. Instead, use \code{\link[=rtweet_app]{rtweet_app()}}, copying
in the bearer token directly from the
\href{https://developer.twitter.com/en/portal/projects-and-apps}{Twitter developer portal}.
See \code{vignette("auth", package = "rtweet")} for full details.
}
\seealso{
\code{\link[=rtweet_bearer]{rtweet_bearer()}}, \code{\link{rtweet-deprecated}}
}
\keyword{internal}