A complete Private Instagram API for .NET (C#, VB.NET).
Supports almost every features that Instagram app has!
Target | Branch | Version | Download link | Total downloads |
---|---|---|---|---|
Nuget | master | v1.4.0.0 | ||
Release | master | v1.4.0.0 |
PaginationParameters
updated, you must use NextMaxId
instead of using old NextId
!!!!!
This library is based on InstaSharper with more features and new cool things.
Use this library as dll (download from release page) or reference it from NuGet.
Nuget package manager command:
PM> Install-Package InstagramApiSharp
Note: this library uses Json.NET v10.0.3 and above for serialize and deserialize json.
Platform | Supported Version |
---|---|
.NET Framework | 4.5.2 |
.NET Standard | 1.3 |
.NET Standard | 2.0 |
.NET Core(UWP) | 10.0.10240 |
Paypal: Donate
There are a lot of features and bug fix me and NGame1 and other contributors added to this library. Check sample projects and wiki pages to see how it's works.
Some of features:
Login | Login with cookies | Logout | Create new account email/phone number |
Edit profile | Change/remove profile picture | Story settings | Get user explore feed |
Get user timeline feed | Get all user media by username | Get media by its id | Get user info by its username |
Get current user info | Get tag feed by tag value | Get current user media | Get followers list |
Get followers list for logged in user | Get following list | Get recent following activity | Get user tags by username |
Get direct mailbox | Get recent recipients | Get ranked recipients | Get inbox thread |
Get recent activity | Like media | Unlike media | Follow user |
Unfollow user | Set account private | Set account public | Send comment |
Delete comment | Upload photo | Upload video | Get followings list |
Delete media (photo/video/album) | Upload story (photo/video/album) | Change password | Send direct message |
Search location | Get location feed | Collection create/get by id/get all/add items | Support challenge required |
Upload album (videos/photo) | Highlight support | Share story | Send direct photo/video/ stories/profile/ link/location like/live |
IG TV support | Share media to direct thread | Business account support | Share media as story |
var api = InstaApiBuilder.CreateBuilder()
// required
.SetUser(new UserSessionData(...Your user...))
// optional
.UseLogger(new SomeLogger())
// optional
.UseHttpClient(new SomeHttpClient())
// optional
.UseHttpClientHandler(httpHandlerWithSomeProxy)
// optional
.SetRequestDelay(new SomeRequestDelay())
// optional
.SetApiVersion(SomeApiVersion)
.Build();
I don't use Instagram at all and I don't like it either, so when you across to an issue or wanna new feature, describe it as much as you can!
Every method returns object IS NOT COMPLETED YET! For example:
Task<IResult<object>>
Check Wiki pages for documentation.
v1.4.0.0
v1.3.5.0
v1.3.4.6
v1.3.4.5
v1.3.4.4
v1.3.4.3
v1.3.4.2
v1.3.4.1
Version changes page
Nothing!!!!
You can download source code or app from InstaPost github page.
Note: InstaPost app is just an old example that uses InstagramApiSharp v1.1.5.2 which is very old version!!! Some of codes may not working well or even deprecated in new InstagramApiSharp versions. I suggest you to update library to the latest nuget version or use latest release package and update InstaPost codes that is not working or deprecated
You can ask questions or report issues in Persian or English language. I can't answer to other languages, because I don't understand them.
Do whatever you want to do! Except changing library name!!!!
Feel free to contribute and submit pull requests.
Special thanks to all contributors.
Special thanks to mgp25 and his php wrapper.
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Instagram or any of its affiliates or subsidiaries. This is an independent and unofficial API wrapper.
Name | Github | Telegram | ||
---|---|---|---|---|
Ramtin Jokar | @Ramtinak | Ramtinak@live.com | - | - |
Ali Noshahi | @NGame1 | NGame1390@hotmail.com | https://t.me/NGameW | https://instagram.com/alingame |
Iranian developers - (c) 2019 | Bahar 1398.