login Loads tinder's facebook access id and token. And checks if can connect.

login(accountFile = paste0(Sys.getenv("HOME"), "/.tinderAccount.R"))

Arguments

accountFile

R file to be sourced, with 'userId' and 'fbAuthtoken' variables.

Details

Sources the selected R file, which must have 'userId' and 'accesstoken' variables. And tests if it can connect to tinder's API.

See also

configAccount

Examples

# NOT RUN {
# Check if can connect to tinder.
# login() must be executed each time we load Rtinder library.
login()
# }