Giter Site home page Giter Site logo

ohhdemgirls / instagram-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rafaelferreirapt/instagram-bot

1.0 2.0 1.0 244 KB

Instagram bot to like and subscribe users that posted some media associated to any tag

License: MIT License

Python 100.00%

instagram-bot's Introduction

The ability to POST and DELETE likes, follows and comments is restricted to applications that offer business services and not consumer facing apps. https://help.instagram.com/contact/185819881608116

Instagram Python Bot

This Instagram Python script let you launch one bot to like and follow people that post media with specific "tags". You have, for now, 3 different bots:

  • The "all-time bot", /bot, that runs continuously from the moment that started to the moment end of the media list for each tag.
  • The "day bot", /day_bot, that makes the same work of the previous one but with the difference that only likes media from the past hours.
  • The "clean bot", /clean, this bot cleans the following list. Now, only can clean the ones that doesn't follow you.

Configuration

  • /bot .. config_bot.json:
    • "path" the folder that you want to save the log from this bot
    • "access_token" generate from: get_access_token.py
    • "my_user_id" your user id, get from the response of: get_access_token.py
    • "prefix_name" the files prefix
    • "follows_per_hour" the max rating follow
    • "likes_per_hour" the max likes per hour
    • "sleep_timer" sleep timer between each api_request
  • /day_bot .. config_bot.json
    • "path" the folder that you want to save the log from this bot
    • "access_token" generate from: get_access_token.py
    • "my_user_id" your user id, get from the response of: get_access_token.py
    • "prefix_name" the files prefix
    • "follows_per_hour" the max rating follow
    • "likes_per_hour" the max likes per hour
    • "sleep_timer" sleep timer between each api_request
  • /clean .. config_clean.json
    • "access_token" generate from: get_access_token.py
    • "my_user_id" your user id, get from the response of: get_access_token.py

Installation

Use a Raspberry PI!

  1. Clone this repository to a folder

  2. Configure the bot's

  3. Launch the screen:

    // Bash:
    
    screen -S SCREEN_NAME -d -m -L python ~/PATH_TO_BOT/bot.py
    
  4. Crontab for day_bot.py:

    // Bash:
    
    $ crontab -e
    
    00 5 * * * cd ~/PATH_TO_DAY_BOT/ && python day_bot.py
    

More information: http://www.rafaelferreira.pt/instagram-python-bot/

instagram-bot's People

Contributors

rafaelferreirapt avatar

Stargazers

Jamal Chahir avatar

Watchers

James Cloos avatar Odem avatar

Forkers

wtfmejt

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.