Learn R Programming

rtweet (version 0.7.0)

post_message: Posts direct message from user's Twitter account

Description

Posts direct message from user's Twitter account

Usage

post_message(text, user, media = NULL, token = NULL)

Arguments

text

Character, text of message.

user

Screen name or user ID of message target.

media

File path to image or video media to be included in tweet.

token

OAuth token. By default token = NULL fetches a non-exhausted token from an environment variable tokens.