Giter VIP home page Giter VIP logo

omniverse-bot's Introduction

Twitter Bot - omniverse_bot

forthebadge made-with-python

Build Status

This Twitter Bot is a cloud Server Deployed and work 24/7, tweeting india trends like whats people been talking about.

Technology Used

PyPI version fury.io

  • Python 3 (Coding language to write code for your Bot)
  • PyPI pyversions
  • Tweepy (python Module for managing/automating tweeter account)
  • pythonanywhere (A online integrated development environment and web hosting service based on the Python programming language.)

For running your bot 24/7 live you can sign up on Pythonanywhere And upload your code and keys into server and Run this Simple Command in your Bash terminal

Bash Shell

$ python yourbotscript.py

Features!

  • Like the tweets according to condition written in code.
  • Retweet tweet aautomatically (currently retweeting trending tweets in indian Users)

You can also:

  • Make this bot to like, comment and retweet a specific user.
  • With automated 100 tweet bot you can create your bot small agency which will do whatever you want them to do.
  • You can Bomb likes or use them for Giveaways and other sort of things.
  • Or you can handle bots just by changing your Bio status with coditional programming and it wil read case queries from your profile

Got some idea what Bots can do ?

When Henry Ford made cheap, reliable cars, people said, ‘Nah, what’s wrong with a horse?’ That was a huge bet he made, and it worked.

Elon Musk CEO of SpaceX.

Requirement & Installation

  • First create Twitter Developer Account from here
  • Get the token and all other keys from tweeter developer account and save them in keys.py
  • Now install Python from here if you first want to run your scripts in local machine.
  • Install Tweepy The easiest way to install the latest version from PyPI is by using pip:
$ pip install tweepy

You can also use Git to clone the repository from GitHub to install the latest development version:

git clone https://github.com/tweepy/tweepy.git
cd tweepy
pip install .

Alternatively, install directly from the GitHub repository:

pip install git+https://github.com/tweepy/tweepy.git

Testing code

consumer_key = "place your consumer key here which you got from twitter deveoloper account "
consumer_secret = "#"
access_token = "#"
access_token_secret = "#"

import tweepy
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)

api = tweepy.API(auth)

public_tweets = api.home_timeline()
for tweet in public_tweets:
    print(tweet.text) #this will print your recent tweets form twitter account

Development

Want to contribute? Great! Open your favorite Terminal and run these commands.

First Tab:

$ git clone https://github.com/mmaithani/Omniverse-Bot.git

Create the branch on your local machine and switch in this branch :

$ git checkout -b [name_of_your_new_branch]

Edit files, add and commit. Then push with the -u (short for --set-upstream) option:

$ git push -u origin <branch>

Git will set up the tracking information during the push.

License License: MIT

Copyright (c) 2020 Mohit Maithani

omniverse-bot's People

Contributors

mmaithani avatar

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.