post_message: Posts direct message from user's Twitter account

Description Usage Arguments

View source: R/post.R

Description

Posts direct message from user's Twitter account

Usage

1
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.


rtweet documentation built on Jan. 11, 2020, 9:11 a.m.