set_twitter_app_auth {epitweetr}R Documentation

Save Twitter App credentials

Description

Update Twitter authentication tokens in a configuration object

Usage

set_twitter_app_auth(
  app = "",
  access_token = "",
  access_token_secret = "",
  api_key = "",
  api_secret = "",
  bearer = ""
)

Arguments

app

Application name

access_token

Access token as provided by Twitter

access_token_secret

Access token secret as provided by Twitter

api_key

API key as provided by Twitter

api_secret

API secret as provided by Twitter

bearer

the bearer token of the application

Details

Update Twitter authentication tokens in configuration object

Value

Nothing

See Also

save_config

Examples

if(FALSE){
 #Setting the configuration values
   set_twitter_app_auth(
     app = "my super app", 
     access_token = "123456", 
     access_token_secret = "123456", 
     api_key = "123456", 
     api_secret = "123456"
   )
   set_twitter_app_auth(
     bearer = "123456"
   )
}

[Package epitweetr version 2.2.16 Index]