Skip to content
/ TweeBot Public

Python twitter bot with integrated ChatGPT [OpenAI]

License

Notifications You must be signed in to change notification settings

srs404/TweeBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TweeBot

License OpenAI Twitter Python

Author:

Name: Sami Rahman
Email: [email protected]
Website: https://srs404.com
Socials:

Purpose:

An automated bot with integrated OpenAI technology. Generate dynamic random tweets using chatgpt and tweet every 4 hours of device uptime in a day.

Installation:

  • Clone This Repository git clone https://github.com/srs404/TweeBot.git
  • Inside The Cloned Directory, create a json file named credentials.json
  • Use the json structure below to shape your credentials.json and change the values respectively
  • If your API Keys & Tokens are legit, they should work accordingly with default feature.
  • Onwards, you can change it to your own form by editing the list variables post_type_list and requirements inside the TweeBot.pyw.

Usage:

Change two list items to dynamically generate the intended outcome for a tweet.

  • post_type_list (Type: List)
  • requirements (Type: List)

JSON Structure:

Filename: credentials.json,

{
    "consumer": {
        "key": "CONSUMER_KEY",
        "secret": "CONSUMER_SECRET_KEY" 
    },
    "access_token": {
        "key": "ACCESS_TOKEN_KEY",
        "secret": "ACCESS_TOKEN_SECRET_KEY"
    },
    "client": {
        "key": "TWITTER_APP_API_CLIENT_KEY",
        "secret": "TWITTER_APP_API_CLIENT_SECRET_KEY"
    },
    "bearer_token": "TWITTER_API_BEARER_TOKEN",
    "chatGPT_API_KEY": "CHATGPT_API_TOKEN"
}

Releases

No releases published

Packages

No packages published

Languages