Skip to content

Tweets in Shell: A CLI that uses Shell Script and xurl to post, reply, and delete tweets.

License

Notifications You must be signed in to change notification settings

everton-tenorio/twish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twish

Requirements:

Use the script as a command

alias tw=<...path choice/tw>

Authentication

In the developer account, you need to obtain the values for BEARER TOKEN, CLIENT_ID, and CLIENT_SECRET.
These values will first be used in the script, then authenticate yourself.

tw -auth

Post a tweet

tw "New post!"

...With media

tw "New post!" image.jpg
tw "New post!" https://anyurl-image.up/image.jpg

Reply to tweets

You need to obtain the ID

tw -rep <tweet_id> "reply"

Delete tweets

You need to obtain the ID

tw -del <tweet_id>

About

Tweets in Shell: A CLI that uses Shell Script and xurl to post, reply, and delete tweets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published