Giter Site home page Giter Site logo

nhouman / twitterbot Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 16 KB

Each Python file is used to interact with Twitter in some way and will be different from the others in such a way that they don't interact with each other. This is so that it is easy to see what each program is doing by itself.

Python 100.00%
twitter tweepy python bot schedule

twitterbot's Introduction

How to Use

To have these programs run as intended, they would ideally be run from a cloud computer such as AWS EC2/Google Cloud Console or a Raspberry Pi. This is so that the programs aren't ended early or have to restart.

Twitter_Bot

This is a basic Twitter bot that tweets daily at a specified time and keeps a daily counter that increments every time the tweet is sent.

This utilizes Tweepy, schedule, time, and datetime to handle everything.
The credentials used to allow Tweepy to interact with Twitter need to be accessed from your developer.twitter.com account.

You can find them by logging into the site then going to:
Team dropdown> Apps> Details> Keys and Tokens

Tweepy documentation can be found here.
Schedule documentation can be found here.

RandomQuotes

This is another basic Twitter bot, but this one involves pulling random lines from a text file and using those as tweets. API credentials are also grabbed from a text file.

The credentials file, creds.txt, only needs the API credentials to be entered in place of the placeholder variables to work with the python file.

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.