login.Rd
login
Loads tinder's facebook access id and token. And checks if can
connect.
login(accountFile = paste0(Sys.getenv("HOME"), "/.tinderAccount.R"))
accountFile | R file to be sourced, with 'userId' and 'fbAuthtoken' variables. |
---|
Sources the selected R file, which must have 'userId' and 'accesstoken' variables. And tests if it can connect to tinder's API.
configAccount
# NOT RUN { # Check if can connect to tinder. # login() must be executed each time we load Rtinder library. login() # }