InstagramApiSharp 1.5.0.1

A complete Private Instagram API for .NET.


Support:
- Create new account with phone number and email.
- Login with Cookies.
- Edit Profile, change/remove profile picture.
- Upload album (videos and photos)
- Upload story (video/photo) to self story and direct thread
- Send video/photo/story/profile/link/location to direct
- Live functions.
- Discover functions.
- Search peoples.
- IGTV functions.
- Business functions.
- Shopping functions.
- Can pass challenge required and two factor authentication.
- and many more.

See example projects and wiki pages to find out how this library works.

Install-Package InstagramApiSharp -Version 1.5.0.1
dotnet add package InstagramApiSharp --version 1.5.0.1
<PackageReference Include="InstagramApiSharp" Version="1.5.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add InstagramApiSharp --version 1.5.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v1.5.0.1
- [Bugfix] for adding header

v1.5.0.0
[Update] api version and signature key to v126.0.0.25.121
[Update] Headers and constants
[Update] GetUserTimelineFeedAsync, Constants and some others
[Update] a lot of things related to login and other things
[Add] SendRequestsBeforeLoginAsync to InstaApi
[Add] SendRequestsAfterLoginAsync to InstaApi

v1.4.0.0
- [Add] GetTopicalExploreFeedAsync to FeedProcessor (new explore page)
Supports explore categories, ig tv videos

v1.3.5.0
- [Add] UserTag support in InstaVideoUpload (video upload with user tags)
- [Add] video usertags support for uploading album

v1.3.4.6
- [Bugfix] for slider emoji in story upload
- [Add] CropWidth and CropHeight as parameter for CreateHighlightFeedAsync (thx to @szokeptr)
- [Add] LastPermanentItem property to InstaDirectInboxThread by @estgold
- [Add] RelatedHashtags to GetTopHashtagMediaListAsync
- [Update] GetTopHashtagMediaListAsync
- [Update] GetRecentHashtagMediaListAsync
- [Update] api version to 86.0.0.24.87 (it's default now)

v1.3.4.5
- [Add] GetLoggedInChallengeDataInfoAsync to IInstaApi
- [Add] AcceptChallengeAsync to IInstaApi [THIS IS ME feature] (check #204)
- [Bugfix] for highlights media converter
- [Bugfix] for challenge response for logged in user

v1.3.4.4
- [Bugfix] for login with 2FA enabled (thx to @vivan-snapretail for report)
- [Add] Dashmanifest property for postlive
- [Add] Support Uploading Story Countdown in InstaStoryUploadOptions
- [Add] GetCountdownsStoriesAsync to StoryProcessor
- [Add] FollowCountdownStoryAsync to StoryProcessor
- [Add] UnFollowCountdownStoryAsync to StoryProcessor

v1.3.4.3
- [Bugfix] for BusinessProcessor.GetStatisticsAsync [ by @estgold ]
- [Bugfix] for GetStoryMediaViewersAsync (thx to @tommasoceschia for report)
- [Add] HttpRequestProcessor to IInstaApi
- [Add] GetApiVersionInfo to IInstaApi
- [Add] GetUserAgent to IInstaApi

v1.3.4.2
- [Bugfix] for InstaRecentActivityConverter timestamp for different cultures [ by @estgold ]
- [Bugfix] for media products (thx to @tommasoceschia for report)

v1.3.4.1
- [Bugfix] for UploadStoryPhotoWithUrlAsync
- [Bugfix] for ProductTags (thx to @tommasoceschia for report)
- [Add] some new properties to InstaProduct class
- [Add] support for Questions in InstaStoryUploadOptions
- [Update] facebook login function
- [Update] story slider

v1.3.4.0
- [Add] IWebProcessor to IInstaApi (instagram web api for account data)
- [Add] GetAccountInfoAsync to WebProcessor
- [Add] GetFollowRequestsAsync to WebProcessor
- [Add] GetFormerBiographyTextsAsync to WebProcessor
- [Add] GetFormerBiographyLinksAsync to WebProcessor
- [Add] GetFormerUsernamesAsync to WebProcesor
- [Add] GetFormerFullNamesAsync to WebProcessor
- [Add] GetFormerPhoneNumbersAsync to WebProcessor
- [Add] GetFormerEmailsAsync to WebProcessor

v1.3.3.5
- [Bugfix] for GetDirectInboxThreadAsync pagination (thx to @Hoaas for report)
- [Add] VisualMedia support in direct thread item (check #174 issue) (thx to @aspmaker for report)
- [Add] ActionBlockEnd to ResultInfo (Displaying ActionBlock end date. Used For awaiting liking etc.) (thx to @mihey8800 for PR)
- [Add] Videos property to InstaInboxMedia (direct media item)
- [Update] direct item Users and LeftUsers models class
- [Remove] StartFromId function from PaginationParameters class (use StartFromMaxId instead)

v1.3.3.4
- [Update] InstaUserInfo (thx to @RowanFazio for PR)
- [Change] InstaStory.Items to InstaStoryItem
- [Add] StoryQuestionsResponderInfos property to InstaStoryItem
- [Add] Countdowns property to InstaStoryItem
- [Add] ImportedTakenAt property to InstaStoryItem
- [Add] AnswerToStoryQuestionAsync to StoryProcessor
- [Add] support for Mentions in InstaStoryUploadOptions

v1.3.3.3
- [Bugfix] for GetUserFollowersAsync
- [Bugfix] for GetUserFollowingAsync
- [Rename] GetLocationFeedAsync to GetLocationStoriesAsync
- [Rename] InstaHashtagMediaList to InstaSectionMediaList
- [Add] some new properties to PaginationParameters
- [Add] GetTopLocationFeedsAsync to LocationProcessor
- [Add] GetRecentLocationFeedsAsync to LocationProcessor
- [Add] GetAccountDetailsAsync to BusinessProcessor
- [Update] GetRecentHashtagMediaListAsync pagination
- [Update] GetUserTimelineFeedAsync pull refresh

v1.3.3.2
- [Add] InstaStoryFriendshipStatus class
- [Update] GetStoryFeedAsync
- [Update] GetUserStoryAsync
- [Update] GetFullUserInfoAsync
- [Update] GetFriendshipStatusAsync
- [Update] BlockUserAsync/UnBlockUserAsync
- [Update] IgnoreFriendshipRequestAsync
- [Update] HideMyStoryFromUserAsync/UnHideMyStoryFromUserAsync
- [Update] MuteFriendStoryAsync/UnMuteFriendStoryAsync
- [Update] MuteUserMediaAsync/UnMuteUserMediaAsync
- [Update] FollowUserAsync/UnFollowUserAsync
- [Update] InstaStory.FriendshipStatus (support muting)
- [Update] InstaFullUserInfo.UserDetail.FriendshipStatus
- [Update] InstaStoryFeed.Broadcasts
- [Update] InstaStoryFeed.PostLives
- [Update] InstaReelFeed.FriendshipStatus

v1.3.3.1
- [Add] ShareMediaAsStoryAsync to StoryProcessor
- [Add] HasViewerSaved property to InstaMedia
- [Add] converters for all live broadcast classes
- [Add] pagination to GetDiscoverTopLiveAsync
- [Add] LoginWithFacebookAsync to IInstaApi

v1.3.3.0
- [Bugfix] for followers and followings get functions
- [Bugfix] for SendGetRequestAsync
- [Bugfix] for GetTopHashtagMediaListAsync (thx to @huseyinkarael for report)
- [Bugfix] for GetRecentHashtagMediaListAsync (thx to @huseyinkarael for report)
- [Bugfix] for GetArchivedMediaAsync pagination
- [Bugfix] for GetUserTagsAsync (thx to @hamidrh for bugfix)
- [Rename] GetLikeFeedAsync to GetLikedFeedAsync
- [Rename] SendLikeAsync to SendDirectLikeAsync
- [Add] GetUserFollowersByIdAsync to UserProcessor
- [Add] GetUserFollowingByIdAsync to UserProcessor
- [Add] SaveMediaAsync to MediaProcessor
- [Add] UnSaveMediaAsync to MediaProcessor
- [Add] GetSavedFeedAsync to FeedProcessor
- [Add] support story question in InstaStoryItem
- [Add] GetUserShoppableMediaByIdAsync to ShoppingProcessor
- [Add] GetUserMediaByIdAsync to UserProcessor
- [Add] GetBestFriendsAsync to UserProcessor
- [Add] GetBestFriendsSuggestionsAsync to UserProcessor
- [Add] AddBestFriendsAsync to UserProcessor
- [Add] DeleteBestFriendsAsync to UserProcessor
- [Update] GetUserTagsAsync pagination
- [Update] GetTagFeedAsync pagination
- [Update] GetUserTimelineFeedAsync pagination
- [Update] GetSavedFeedAsync
- [Update] GetLikedFeedAsync pagination
- [Update] GetRecentHashtagMediaListAsync pagination
- [Update] GetTopHashtagMediaListAsync pagination
- [Update] ApproveDirectPendingRequestAsync
- [Update] GetUserShoppableMediaAsync pagination
- [Update] GetUserShoppableMediaAsync pagination

Showing the top 1 GitHub repositories that depend on InstagramApiSharp:

Repository Stars
aelassas/Wexflow
An easy and fast way to build automation and workflows on Windows, Linux, macOS, and the cloud.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
1.5.0.1 6,061 2/25/2020
1.5.0 126 2/24/2020
1.4.0.1 8,396 7/2/2019
1.4.0 15,468 4/4/2019
1.3.5 1,293 4/1/2019
1.3.4.6 1,256 3/31/2019
1.3.4.5 1,969 3/12/2019
1.3.4.4 1,332 3/4/2019
1.3.4.3 1,307 2/26/2019
1.3.4.2 1,278 2/25/2019
1.3.4.1 1,317 2/19/2019
1.3.4 1,265 2/17/2019
1.3.3.5 1,226 2/17/2019
1.3.3.4 1,264 2/13/2019
1.3.3.3 1,264 2/11/2019
1.3.3.2 1,308 2/5/2019
1.3.3.1 1,238 2/5/2019
1.3.3 1,322 1/29/2019
1.3.2.3 1,330 1/25/2019
1.3.2.2 5,742 1/24/2019
1.3.2.1 1,288 1/21/2019
1.3.2 1,330 1/18/2019
1.3.1.9 1,261 1/18/2019
1.3.1.8 1,299 1/16/2019
1.3.1.7 1,446 1/12/2019
1.3.1.6 1,469 1/7/2019
1.3.1.3 1,352 1/3/2019
1.3.1.1 1,392 12/26/2018
1.3.1 1,251 12/24/2018
1.3.0.1 1,283 12/19/2018
1.3.0 1,252 12/19/2018
1.2.0.1 1,300 12/13/2018
1.2.0 1,253 12/13/2018
1.1.6.2 1,433 11/26/2018
1.1.6.1 1,262 11/24/2018
1.1.6 1,287 11/23/2018
1.1.5.5 1,380 11/22/2018
1.1.5.2 1,990 11/20/2018
1.1.5.1 1,782 11/16/2018
1.1.5 1,296 11/15/2018
1.1.4.5 1,291 11/14/2018
1.1.4.4 1,312 11/14/2018
1.1.4.3 1,297 11/12/2018
1.1.4.2 1,298 11/8/2018
1.1.4.1 1,297 11/5/2018
1.1.4 1,319 11/4/2018
1.1.3.8 1,276 10/31/2018
1.1.3.7 1,272 10/29/2018
1.1.3.6 31,957 10/25/2018
1.1.3.5 1,331 10/21/2018
1.1.3.4 1,319 10/18/2018
1.1.3.3 1,301 10/16/2018
1.1.3.2 1,297 10/16/2018
1.1.3.1 1,311 10/14/2018
1.1.3 1,313 10/13/2018
1.1.2.8 1,334 10/8/2018
1.1.2.7 1,295 10/8/2018
1.1.2.6 1,297 10/8/2018
1.1.2.5 1,294 10/8/2018
1.1.2.4 1,332 10/5/2018
1.1.2.3 1,305 10/4/2018
1.1.2.2 1,328 10/2/2018
1.1.2.1 1,296 10/2/2018
1.1.2 1,345 9/28/2018
1.1.1.1 1,302 9/25/2018
1.1.1 1,298 9/23/2018
1.1.0.9 1,306 9/20/2018
1.1.0.8 1,290 9/18/2018
1.1.0.7 1,306 9/14/2018
1.1.0.5 1,302 9/14/2018
1.1.0.2 1,283 9/13/2018
1.1.0.1 1,295 9/12/2018
1.1.0 1,308 9/11/2018
1.0.6 1,285 9/10/2018
1.0.5.6 1,269 9/9/2018
1.0.5.5 1,293 9/9/2018
1.0.5.4 1,290 9/8/2018
1.0.5.3 1,285 9/7/2018
1.0.5.2 1,307 9/7/2018
1.0.5.1 1,269 9/7/2018
1.0.5 1,282 9/7/2018
1.0.4.9 1,292 9/6/2018
1.0.4.8 1,273 9/6/2018
1.0.4.7 1,295 9/5/2018
1.0.4.6 1,318 9/2/2018
1.0.4.5 1,306 9/1/2018
1.0.4.4 1,289 9/1/2018
1.0.4.3 1,295 8/31/2018
1.0.4.2 1,269 8/31/2018
1.0.4.1 1,283 8/30/2018
1.0.4 1,292 8/30/2018
1.0.3.5 1,310 8/28/2018
1.0.3.4 1,414 8/25/2018
1.0.3.3 1,323 8/20/2018
1.0.3.2 1,310 8/17/2018
1.0.3.1 1,327 8/16/2018
1.0.3 1,301 8/14/2018
1.0.2.9 1,303 8/9/2018
1.0.2.8 1,335 8/4/2018
1.0.2.7 1,324 8/3/2018
1.0.2.6 1,359 7/22/2018
1.0.2.5 1,326 7/21/2018
1.0.2.4 1,376 7/19/2018
1.0.2.3 1,390 7/3/2018
1.0.2.2 1,342 6/14/2018
1.0.2.1 1,402 6/11/2018
1.0.2 1,386 6/5/2018
1.0.1 1,455 6/1/2018
1.0.0 1,357 5/15/2018