Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

mitian233/Twitter-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter CLI

Post tweets (with one photo) in your command line!

Dependencies

pip install tweepy

Support

  • Post tweets(with images)
  • Delete tweets
  • Show time line
  • Like tweets
  • Reply tweets
  • Send Direct message
  • Reply Direct message
  • And more...

Setup

  1. This application does not provide existing twitter api, you need to apply manually.
  2. After you successfully applied Twitter API v1 access, please follow the prompts in the application output to create a configuration file.
    • Application might read tweets and profile information, read and post direct messages. So you need to choose Read and write and Direct message in App permissions settings.

Usage

Use the following commands to get command help:

python main.py -h

Proxy

Uncomment these lines and replace with your own.

# Proxy settings(optional)
import os
os.environ["http_proxy"] = "http_proxy"
os.environ["https_proxy"] = "http_proxy"
# Proxy settings end