Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Help 

how to run twitter on command line

just wondering how to do it
It's a website that runs on AWS, Google Cloud Platform, and Azure. You can't run it in a CLI.
Are you looking for something like that ? https://itsfoss.com/terminal-web-browsers/

But I don't get the objective
(Mar 31, 2024 01:29 PM)chatgptpro Wrote:  just wondering how to do it

You want a back end script to do what exactly?
(Mar 31, 2024 01:40 PM)Bastille Wrote:  Are you looking for something like that ? https://itsfoss.com/terminal-web-browsers/

But I don't get the objective


Yea this will do, thanks !
(Mar 31, 2024 01:29 PM)chatgptpro Wrote:  just wondering how to do it

If what you're asking is how to interact with X from a command line, you can use cURL to make GET and POST requests. Beyond that you can use the free limited API access. https://developer.twitter.com/en/docs/tw...st-request
(Apr 1, 2024 08:13 AM)DramaKing Wrote:  If what you're asking is how to interact with X from a command line, you can use cURL to make GET and POST requests. Beyond that you can use the free limited API access. https://developer.twitter.com/en/docs/tw...st-request


Thanks!
copuld need help too thanks boss
(Mar 31, 2024 01:40 PM)Bastille Wrote:  Are you looking for something like that ? https://itsfoss.com/terminal-web-browsers/

But I don't get the objective

(Apr 1, 2024 08:11 AM)chatgptpro Wrote:  Yea this will do, thanks !

(Apr 1, 2024 08:13 AM)DramaKing Wrote:  If what you're asking is how to interact with X from a command line, you can use cURL to make GET and POST requests. Beyond that you can use the free limited API access. https://developer.twitter.com/en/docs/tw...st-request

(Apr 1, 2024 08:37 AM)yoPoper Wrote:  copuld need help too thanks boss




You all should check out the available packages & documentation on these pages below too. Please keep in mind I haven't explored the full code/docs for these, so I make no guarantees, but there should be enough here to get anyone started - tried to show a mix of languages too:
https://developer.twitter.com/en/docs/tw...braries/v2
- V1 here: https://developer.twitter.com/en/docs/tw...braries/v1
https://about.gitlab.com/blog/2023/03/21...tlab-cicd/
https://github.com/devhindo/x
https://github.com/EuclidStellar/twitter-cli-golang
https://github.com/redouane59/twittered
https://github.com/sferik/t-ruby
https://github.com/IchikawaYukko/twitter-cmd

Don't forget, you can always build a CLI tool yourself by following docs:
https://developer.twitter.com/en/docs/tw...witter-api
Install t: First, you need to install the t command-line tool. You can do this using RubyGems, assuming you have Ruby installed on your system. Open your terminal and run the following command:
gem install t

Authorize t with your Twitter account: After installing t, you need to authorize it to access your Twitter account. Run the following command:
t authorize
This will open a browser window where you'll be prompted to authorize the t application. Follow the instructions to authorize it.

Start using t: Once t is authorized, you can start using it to interact with Twitter. Here are a few examples of commands you can run:

To post a tweet:
t update "Your tweet here"

To view your timeline:
t timeline

To view mentions:
t mentions

To view your direct messages:
t direct_messages

To search for tweets:
t search "keyword"

And many more. You can explore all available commands and options by running t help.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Tutorial] by ClumsyMar 11, 2024 11:59 PM 0 82 Mar 11, 2024 11:59 PM
Last Post: Clumsy
by THeON3Apr 7, 2015 04:25 AM 3 141 Apr 7, 2015 04:25 AM
Last Post: THeON3
[Perl] by TaranisFeb 15, 2015 03:24 PM 0 236 Feb 15, 2015 03:24 PM
Last Post: Taranis