setup_botscan: setup_botscan

Description Usage Arguments Details Value Author(s) Examples

View source: R/setup_botscan.R

Description

Initialize Keys, Tokens, and Secrets for Twitter Access

Usage

1
2
3
4
5
6
7
setup_botscan(
  rapidapi_key,
  consumer_key,
  consumer_secret,
  access_token,
  access_token_secret
)

Arguments

rapidapi_key

A string representing the RapidAPI key

consumer_key

A string representing the consumer key

consumer_secret

A string representing the consumer secret

access_token

A string representing the access token

access_token_secret

A string representing the access token secret

Details

Takes a Twitter query and produces the percentage of users within that conversation that are likely to be bots.

Value

A list of length two with components

rapidapi_key

The RapidAPI key

twitter_app_auth

A list of length four, including the consumer_key, consumer_secret, access_token, and access_token_secret

Author(s)

Ryan T. Moore

Examples

1
2
3
4
## Not run: bom <- setup_botscan("a", "b", "c", "d", "e")

# The above example fails, since each key, secret, or token must be created
# by the user via ...

kurtawirth/botscan documentation built on June 17, 2021, 12:30 a.m.