login_fb: Open a browser and log in, log out from Facebook

Description Usage Arguments Details Value Author(s) Examples

Description

These functions will log you in and ou t of Facebook.

Usage

1
2
login_fb(login_name, login_password, ...)
logout_fb(remDr)

Arguments

remDr

a remoteDriver object, created by (for example) login_fb

login_name

optional, one length character vector, containing the string which should be used for login. Either profile name, phone nuber or e-mail address. If not supplied, the user can log in in the browser.

login_password

optional, one length character vector, containing the password. If not supplied, the user can log in in the browser.

...

optiional arguments passed to remoteDriver to handtune browser.

Details

The login_fb function creates a remoteDriver object, in wich it is logging in with the given information. logout_fb takes that remoteDriver and logs out of Facebook, then closes the object.

Interactive login is supported, if either user_login or user_password is missing, the function will wait until the user logs in.

Value

for login_fb, a remoteDriver object.For logout_fb, none.

Author(s)

Andras Tajti

Examples

1
2
3
## NOT RUN
# login_fb(your_login_name, your_password)
## END NOT RUN

atajti/fbpack documentation built on May 6, 2019, 1:30 a.m.