facebookMessage: Send Facebook Message

Description Usage Arguments See Also Examples

Description

A helper to send message via facebook

Usage

1
2
  facebookMessage(username, password, fbid, message,
    log_level = XMPP_LEVEL_ERROR, timeout = 15)

Arguments

username

facebook username

password

password for login

fbid

to a string of number of fbid

message

message to send

log_level

level of displayed message. One of XMPP_LEVEL_DEBUG, XMPP_LEVEL_INFO, XMPP_LEVEL_WARN, and XMPP_LEVEL_ERROR

timeout

time to wait for sending message. The longest time for hanging is 2*timeout

See Also

sendXMPPMessage

Examples

1
2
3
4
## Not run: 
facebookMessage("wush", "shouldnotbehere", "12345678", "RMessenger testing message")

## End(Not run)

wush978/RMessenger documentation built on May 4, 2019, 12:01 p.m.