just wondering how to do it
|
Help
how to run twitter on command line |
|
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/ 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! (Mar 31, 2024 01:40 PM)Bastille Wrote: Are you looking for something like that ? https://itsfoss.com/terminal-web-browsers/ (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. |
|
|





