An complete Private Instagram Api for .NET (C#, VB.NET).
Supports: Create new account, verify account, edit profile, set profile picture and many more...
Target | Branch | Version | Download link |
---|---|---|---|
Nuget | master | v1.1.5.1 |
PaginationParameters
updated, you must use NextMaxId
instead of using old NextId
!!!!!
This library is based on InstaSharper with more functions and flexibility.
Use this library as dll, reference 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 | 2.0 |
.NET Core(UWP) | 10.0.10240 |
There's a lot of functions and bug fix me and NGame1 added to this library. Check sample projects and wiki pages to see how it's works.
Some of features:
Login | Login with Facebook | 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 |
IG TV support | Share media to direct thread | Business account support |
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();
Every method returns object IS NOT COMPLETED YET! For example:
Task<IResult<object>>
Check Wiki pages for documentation.
v1.1.5.1
- [Add] to VerifyEmailByVerificationUriAsync to AccountProcessor
- [Add] DeleteDirectThreadAsync to MessagingProcessor
- [Add] DeleteSelfMessageAsync to MessagingProcessor
v1.1.5.0
- [Bugfix] for GetUserAsync
- [Add] user tags support to UploadPhotoAsync
- [Add] user tags edit to EditMediaAsync
- [Add] Product tags to InstaMedia
- [Add] user tag support to InstaCarouselItem
- [Add] ShoppingProcessor
- [Add] GetUserShoppableMediaAsync to ShoppingProcessor and UserProcessor
- [Add] GetProductInfoAsync to ShoppingProcessor
- [Add] MarkUserAsOverageAsync to UserProcessor
- [Add] FavoriteUserAsync and UnFavoriteUserAsync to UserProcessor
- [Add] FavoriteUserStoriesAsync and UnFavoriteUserStoriesAsync to UserProcessor
- [Add] MuteUserMediaAsync and UnMuteUserMediaAsync to UserProcessor
- [Add] HideMyStoryFromUserAsync and UnHideMyStoryFromUserAsync to UserProcessor
- [Add] MuteFriendStoryAsync and UnMuteFriendStoryAsync to UserProcessor
- [Add] GetBlockedStorySharingUsersStory to StoryProcessor
v1.1.4.4
- [Bugfix] for phone number/email login (now you can login with phone/email to as well) (spectial thanks to @learn-itnow for his help)
v1.1.4.3
- [Update] PaginationParameters, change NextId to NextMaxId
- [Add] NextMinId to PaginationParameters (for comments)
- [Bugfix] for GetMediaCommentsAsync
- [Bugfix] for GetMediaRepliesCommentsAsync
v1.1.4.2
- [Bugfix] Unique guid for devices (now instagram won't suspicious to you, relogin required)
v1.1.4.1
- [Minor bugfix] for GetUserAsync in UserProcessor
v1.1.4.0
- [Bugfix] for RavenReplayChainCount in direct thread item
- [Update] tiny update for story seen uri
- [Add] MarkStoryAsSeenAsync to StoryProcessor
- [Add] GetHighlightMediasAsync to StoryProcessor
- [Add] ReplyToStoryAsync to StoryProcessor
- [Bugfix] for Result.GetResponseType
v1.1.3.8
- [Bugfix] For checkpoint issue thx to @hermaphros for solution
- [Bugfix] For GetFullUserInfoAsync
- [Add] FriendshipStatus to InstaUserInfo
- [Add] ProfileContextIds to InstaUserInfo
Version changes page
Nothing!!!!
InstaPost app.
You can download source code or app from InstaPost github page.
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!!!!
- Use this Api at your own risk.
No need to donate.
Feel free to contribute and submit pull requests.
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 | [email protected] | - | - |
Ali Noshahi | @NGame1 | [email protected] | https://t.me/NGameW | https://instagram.com/alingame |
Iranian developers - (c) 2018 | Tabestan & Paeez 1397.