GithubHelp home page GithubHelp logo

instabot's Introduction

InstaBot

NOTE BIG UPDATE ON FUCTIONALITY; PLEASE UPDATE YOUR WORKING COPY AND FOLLOW NEW INSTRUCTIONS!

A simple Instagram bot that pulls trending top 100 hashtags and auto likes pictures with those hashtags to get more followers.

Developed in Python and built with the mechanize library

STILL IN DEVELOPMENT, CONTRIBUTIONS ARE WELCOME

##Setup Clone this repository:

git clone https://github.com/marclave/InstaBot.git

run the following command to install the required libraries:

sudo pip install -r requirements.txt

Go to instagram clients Register your account for a developers client Retrieve your CLIENT SECRET and USER ID token under "Manage Clients"

To get your access token:

use the "Client ID" and "Redirect URL" from the previous step and go to this address on your browser:

https://instagram.com/oauth/authorize/?client_id=INSERT_CLIENTID&redirect_uri=INSERT_REDIRECTURI&response_type=token

You would get redirected to your redirect url with your access token:

http://REDIRECT.URL/#access_token=YOUR_ACCESS_TOKEN_IS_HERE

now do the same thing with the following URL to authenticate likes on this Client ID:

https://instagram.com/oauth/authorize/?client_id=INSERT_CLIENTID&redirect_uri=INSERT_REDIRECTURI&response_type=code&scope=likes+basic

Modify the profile to include your information, example:

CREDENTIALS:
  ACCESS_TOKEN: "USER_ACCESS_TOKEN"
  CLIENT_SECRET: "USER_CLIENT_SECRET"
MAXLIKES: 1000 <- If you dont want a max, input NO_MAX
PERHASHTAG: 10 <- If you dont want a max, input NO_MAX
TOP: 1 <- To use the top hashtags on Websta.me use a 1
IP: "USER_IP_ADDRESS" <- run ipconfig or ifconfig to grab your ip address

Note: If you do not put a 1 in the value of TOP then the program will look for a text file called hashtags.txt.

The format for this file is to have each hashtag separated by line, example:

I
Love
Python

Then run:

python InstaBot.py

instabot's People

Contributors

colby-ham avatar marclave avatar quasiyoke avatar shayanb avatar

Watchers

 avatar  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.