GithubHelp home page GithubHelp logo

tweetbot's Introduction

TweetBot

A bot that automatically tweets your message with a set interval.


Because of the random ID being appended to the message, the message will be extended by 4 to 11 characters. Make sure to accomodate for this in your message.


Setup

  1. Rename creds_clean.py to creds.py
  2. Open creds.py in a text editor.
  3. Enter your API credentials into the first 4 lines
  4. Set your message and interval on the 5th and 6th lines.
  5. Install Python 3
  6. Run main.py, if pip downloads requirements, let it finish and then run the script again.
  7. Profit?

Example config

consumer_key = 'blabla'
consumer_secret = 'blablabla'
access_token = 'bla-blabla'
access_token_secret = 'blablalba'
messages = ['TweetBot', 'Test', 'Fish', 'Blub']
delay = '15'
photo = {"TweetBot":"/Users/IOIIIO/Desktop/Icon.jpg", "Fish":"D:\\Images\\fish.png"}

Note:

To send images with a tweet, add the message to the key entry in the photo list (before the :), and add the path to the image into the value entry (after the :).
Windows paths must use double backslashes to prevent formatting errors in Python

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.