tweet_autolink: Perform tweet autolinking

View source: R/twitter-text.R

tweet_autolinkR Documentation

Perform tweet autolinking

Description

Perform tweet autolinking

Usage

tweet_autolink(x)

Arguments

x

A character vector of tweets to be autolinked

Value

A character vector giving the HTML which would be used by Twitter if x were posted as a tweet.

Examples

tweet_autolink(c(
  "Tweet with no links",
  "Tweet with a normal link: https://www.r-project.org",
  "Tweet with a mention @hadleywickham",
  "Tweet with a hastag: #RStats",
  "Tweet with a cashtag: $RSTATS"
))

tweetcheck documentation built on Oct. 6, 2022, 5:15 p.m.