Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

MrSaints/go-instafollowers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-instafollowers

A simple Go CLI app for managing your Instagram followers, and for generating access tokens.


Attention: As of June 1, 2016, this CLI app is UNLIKELY TO WORK because Instagram introduced a new follower_list OAuth 2.0 login / scope permission that WILL NOT WORK for apps in Sandbox Mode. This is unless of course, if you have an app with approved permissions. But let us be honest, you are probably not going to get it just for the sole purpose of using this CLI app, and they probably do not care about you.

Features

To avoid any confusion: It CANNOT help you get more Instagram followers.

It CAN however:

  • List users you are following / being followed by;
  • List users who are not following you back;
  • Help you keep track of who followed / unfollowed you;
  • Help you follow / unfollow user(s) (WIP: Still trying to figure out the best way to handle this).

You can do all that in the comfort of your computer, and hence, you will not have to deal with any pesky ads, loading times or having to give away your personal information. This app is entirely open source too.

Installation

go get github.com/mrsaints/go-instafollowers

Alternatively, you can download the source.

Configuration

The instafollowers/ app relies on an access_token which you must set in config.json. A sample config.new.json is provided. Rename it, and fill in your client information accordingly.

If you do not have an access token, refer to the section below on obtaining one.

The instatoken/ web app relies on a client_id, and a client_secret being set. You can obtain these credentials by registering an Instagram API client.

The config.json should be present in the directory you choose to run the apps. For example, if you are running the binary from the root directory ./bin/instafollowers, you will need to ensure that config.json is copied into the root directory.

Usage

You can either run the app through the Go command or by executing the pre-built amd64 binary.

Go command

Ensure you are in the main project / app directory (i.e. instafollowers/) before proceeding with the commands below. Now, compile, and run:

  • Either via go run:

    go run main.go actions.go
  • Or via go build:

    go build && ./instafollowers

Pre-built binary

In the root directory (i.e. where the LICENSE is), run:

./bin/instafollowers

Run the app without any arguments to see the usage information.

Access Token

To obtain your access token (for individual / private use), you can safely generate (server-side explicit flow) it using the instatoken/ web app included in this package.

Go command

First, ensure you are in the instatoken/ directory. Now, compile, and run:

go build && ./instatoken

Pre-built binary

Alternatively, you can execute the pre-built amd64 binary:

./bin/instatoken

The above command assumes that you are in the root directory.

Now, navigate to http://localhost:8080, and follow the generated link.

About

[DEFUNCT] A simple Go CLI app for managing your Instagram followers, and for generating access tokens.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages