instagram4j/instagram4j ↗
Created Dec 31, 2020 · View the instagram4j/instagram4j repository page
An object-oriented reverse engineered Instagram Private API in Java. Build bots, scrap data, create Instagram apps, and a lot more in very few lines of code
Want this for your repo?
Render a free sample of any GitHub repo in seconds.
Contributors
42
Lines of Code
3,390
From
Feb 4, 2017
To
Dec 14, 2020
About instagram4j/instagram4j
Instagram4j is a Java library that provides an object-oriented interface to Instagram's private API, enabling developers to build bots, scrape data, and create Instagram applications without needing official API tokens. The library is a complete rewrite of an older version and focuses on ease of use and practical functionality for common Instagram operations.
The library supports a wide range of Instagram interactions including sending and receiving direct messages, posting pictures and stories, following and unfollowing accounts, liking and commenting on posts, scraping follower and following lists, downloading posts and profile pictures, fetching reels and highlights, and retrieving user profile data. It includes session caching to maintain authenticated logins and offers both mobile and web API implementations that can be integrated into Java projects via Gradle or Maven. The library requires no API tokens—just a username and password—and doesn't require login credentials for certain operations like downloading public stories.
Instagram4j is designed for developers who need capabilities beyond what the official Instagram Graph API provides, though the documentation acknowledges Instagram's usage limits and anti-bot policies. The project is actively maintained and welcomes contributions, with detailed guides and FAQs available for users getting started with bot development and other use cases. The library represents a community effort with recent contributions from multiple developers improving mobile endpoint support and overall architecture.