Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An object-oriented reverse engineered instagram web API made in Java. Now build bots, scrap data, create instagram apps, and a lot more in your favourite language

License

NotificationsYou must be signed in to change notification settings

ErrorxCode/JxInsta

JxInsta

JxInsta

A java library of Instagram private web API (may include mobile api in future). This library is built as a replacement forinstagram4j since it was too old fashioned and was facing a challenge problem due to a similar header population problem among it's users. This project is lead byEasyInsta and is part of it.

Features

  • Lightweight and Easy 2 use, Object-oriented
  • No need API token
  • SupportsSending messages
  • SupportsGetting/fetching messages
  • SupportsDeleting message
  • SupportsRealtime direct messages listener (Pending)
  • SupportsLogin using cache/saving sessions
  • SupportsPosting (Picture)
  • SupportsAdding stories (Photo)
  • SupportsFollowing/Unfollowing
  • SupportsAcception/Ignoring follow request (Pending)
  • SupportsScrapping followings and followers
  • SupportsGetting profile data
  • SupportsLiking/commenting on post
  • SupportsFetching feeds/timeline post
  • SupportsDownloading posts and pfp

Implimentation

Due to the outage of jitpack, the library cannot published. Therfore, you have to locally implement it by puting the .jar file in the lib directory.

Step 1 : Download the.jar from the release section and put it inlib folder of your project.

Step 2 : declare the dependency

For gradle

dependencies {    implementation files('libs/JxInsta-v1.0-beta.jar')    implementationgroup:'com.squareup.okhttp3',name:'okhttp',version:'5.0.0-alpha.11'//skip if already implemented}

For maven

<dependency>    <groupId>com.sample</groupId>    <artifactId>jxinsta</artifactId>    <version>v1.0-beta-2</version>    <scope>system</scope>    <systemPath>${project.basedir}/lib/JxInsta-v1.0-beta-2.jar</systemPath></dependency><dependency>    <groupId>com.squareup.okhttp3</groupId>    <artifactId>okhttp</artifactId>    <version>5.0.0-alpha.11</version></dependency>

You can search on Google for more info on including local dependencies.

Acknowledgements

Its easy :)

JxInstainsta =newJxInsta("username","password",JxInsta.LoginType.WEB_AUTHENTICATION);insta.uploadStory(newFile("photos/story-24.png"));varprofile =insta.getProfile("username").;...

Documentation

Javadoc (Not needed)

User guide

FAQ

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

Answer. Yes. But Instagram doesn't allow them to make bots with their official graph APIs. Although this is not the official API, you should follow the usage limits to prevent detection.

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

Answer. Yes, and that too without login

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

Answer. No. You only need to have the username and password of the account. You can also log in using cookies and bearer tokens.

[Q.4] In Android, can we use Webview to log in?

Answer. Yes, checkthis example on how to use that

Contributing

Contributions are always welcome! There is a lot of scope for contribution in this library.

Please refer toContribution guide. Also, see thecode of conduct.Please seeTodo. md to see what features are pending and what things you can add on your end.

Support

The fastest channel to contact me isInstagram, just DM me and I'll reply to you within 24 hours. My Instagram :x0.rahil

You can show your support by giving a ⭐.

About

An object-oriented reverse engineered instagram web API made in Java. Now build bots, scrap data, create instagram apps, and a lot more in your favourite language

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp