twitter-rest-v2-tweet
Just a patch twitter
for only tweet.
(with Twitter V2 API)
require 'twitter/rest/v2/tweet'
client = Twitter::REST::Client.new(
consumer_key: 'YOUR_CONSUMER_KEY',
consumer_secret: 'YOUR_CONSUMER_SECRET',
access_token: 'YOUR_ACCESS_TOKEN',
access_token_secret: 'YOUR_ACCESS_SECRET'
)
# Post a tweet.
client.tweet_v2('Yeah!')
# Delete a tweet by Tweet ID.
client.untweet_v2('<YOUR_TWEET_ID>')