Giter Site home page Giter Site logo

joshbrgs / social-bots Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.22 MB

Fun little experiement with Python and Tweepy to automate Social Media Interactions

Home Page: https://twitter.com/bluejay_mr

License: The Unlicense

Python 100.00%
social-bots tweepy python

social-bots's Introduction

social-bots

Fun little experiement with Python, Tweepy, and Heroku to automate Social Media Interactions

Twitter Bot

Username: @bluejay_mr

https://twitter.com/bluejay_mr

This bot is designed to favorite keyword tweets, follow for a follow, like and retweet if mentioned in a tag, and will provide you with the real time price of Ethereum or Bitcoin if you tag him and mention "BTC", "Bitcoin", "Ethereum", "ETH", or "the best crypto".

If you would like to try it out for yourself:

First, you should create a Twitter Developer Account at: https://developer.twitter.com/ The Documentation is important too: https://developer.twitter.com/en/docs

Make sure to hide your API keys either in an .env file or refrence them in a config file, and run export MY_ACCESS_TOKEN=....(your token)... in your terminal

I chose to then make a single function to call all the other functions, through imports, I would like to automate at once. This is the file I will make a worker on Heroku!

Next, take your newly made Twitter bot and bring them to life by deploying them! I chose to host mine with Heroku: https://www.heroku.com/

This is where you want to make sure your requirements.txt file, Procfile, and runtime.txt is up to date with your environment, Heroku will base how they handle your bot with this. You can then add your Tokens and APIs to in settings so that it will run!

Hope this helps and that you have fun!

jlifts

social-bots's People

Contributors

joshbrgs avatar

Watchers

 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.