CLI for Twitter
- Fetch home-timeline
- Fetch mentions-timeline
- Fetch user-timeline
- Post statuses
- Customizable color themes
- Multiple account login (WIP)
- Post media (WIP)
- Post photo from clipboard (WIP)
$ npm i -g twe
- Register a Twitter Elevated app with your Twitter developer account
- Give the app
Read and Write
permission and access to your account - Run
twe setup
for setup your keys and tokens
Usage
$ twe Fetch home-timeline
$ twe h|home Fetch home-timeline
$ twe m|mentions Fetch mentions-timeline
$ twe setup Setup tokens
$ twe colors Config color themes
$ twe <status> ... Post status
$ twe --count=10 Fetch with parameters
Use twe colors
to customize your color scheme.
Use twe get
or twe post
to create a GET/POST request:
$ twe get statuses/home_timeline --include-rts=false
$ twe post statuses/update --status=hi
You could use --repl
option to inspect the result in REPL:
$ twe get users/show --id=litomore --repl
> result.name
#=> 'LitoMore'
- twii - API for this module
MIT © LitoMore