Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.

Latest commit

 

History

History
38 lines (27 loc) · 1013 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 1013 Bytes

Instabot

#NOTE: This is pretty much horrible. Don't ever use it.

Simple bot that use Instagrams API to like photos. Creates an SQLite DB to record what pictures you have liked, therefore you won't re-like pictures you have already liked.

Also, you can implement your own "db.py" file to use whichever database you wish to use. Just make sure the file provides the same methods already defined in the db.py file

Dependencies

Instagrams API: https://github.com/Instagram/python-instagram

You can install it through pip

How To Use

First, you must create an account with Instagram to get your token, and secret.

Heres a post explaining how to do this: http://www.pygopar.com/playing-with-instagrams-api/

After all of that, you can run the program

from instabot import InstaBot

my_bot = InstaBot(token="Token_String", ip="Your_IP_ADDR",
                  secret="Secret_Str", tag_list=["computerjoke"])
# Start bot
my_bot.start()
# Stop bot
my_bot.stop()