Learn R Programming

epitweetr (version 2.2.16)

set_twitter_app_auth: 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 = ""
)

Value

Nothing

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

See Also

save_config

Examples

Run this code
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"
   )
}

Run the code above in your browser using DataLab