/EasyInsta

A Java library of Instagram's private API and wrapper of instagram4j. Surf Instagram programmatically, build bots, and a lot more. Just a line of code for every operation.

Primary LanguageJavaApache License 2.0Apache-2.0

EasyInsta

Languages-Java Version Instagram - x__coder__ Downloads GitHub Repo stars

An library through which you can use instagram programatically. You can say that this is a well optimize, will featured wrapper of instagram4j library. You can send direct messages, add stories, post photos, scrap profiles and can do many more things with this library.

Disclaimer ⚠: This API is private. Means that instagram has not documented or allowed others to use this API. If you are using this API harshly then instagram may ban your account. Developers will not be responsible for anything happend to your account.

Banner

Features

  • Lightweight and Easy 2 use
  • No need api token
  • Supports Sending messages (Text & photos)
  • Supports Getting/fetching messages (only Text)
  • Supports Deleting message
  • Supports Spamming DMs
  • Supports Realtime direct messages listener
  • Supports Login using cache/saving sessions
  • Supports Posting (Only photo)
  • Supports Adding stories (Only photo)
  • Supports Following / Unfollowing others
  • Supports Acception / Ignoring follow request
  • Supports Scrapping followings and followers

Implimentation

In your project build.gradle

 allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

In your app build.gradle

dependencies {
	        implementation 'com.github.ErrorxCode:EasyInsta:2.7.2'
	}

Acknowledgements

Its easy :-)

Instagram.login("username","password").actions().doSomething().addOnCompleteListener(task -> {
    if (task.isSuccessful())
        System.out.println("Success");
    else 
        task.getException().printStackTrace();
});

Documentation

Java docs

Guide

FAQ

[Q.1] Can we use this library to make bots ?

Answer. Yes. But Instagram don't allow to make bots with their officail graph APIs. Altho This is not the officail api, but you should still follow the usage limits to prevent detection.

[Q.2] Can we download stories or posts using this API ?

Answer. No, Use Instagram basic display API for that.

[Q.3] Does use of this library requires any tokens or other keys ?

Answer. No. You only need to have username and password of the account.

Contributing

Contributions are always welcome!

There is always a scope of improvement in this library. What you can do is you can add more methods from instagram4j library.

Support

For support, follow us on instagram. It would be nice if you give this repo a star.