Skip to content

huseyinkarael/InstagramApiSharp

 
 

Repository files navigation

InstagramApiSharp

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.0.1 NuGet

Note

This library is based on InstaSharper with more functions and flexibility.

Install

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.

Cross Platform

Platform Supported Version
.NET Framework 4.5.2
.NET Standard 2.0

Overview

There's a lot of functions and bug fix me and NGame1 added to this library. I've added an Examples to show you what's new and how it's works, you can see Samples/Account.cs, Samples/Discover.cs and Samples/Live.cs to see how it's works.

Features

Some of features:

Login Logout Create new account 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)
Upload story (photo) Change password Send direct message Search location
Get location feed Collection create/get by id/get all/add items Support challenge required

Usage

Use builder to get Insta API instance:

var api = new InstaApiBuilder()
                .UseLogger(new SomeLogger())
                .UseHttpClient(new SomeHttpClient())
                .SetUser(new UserCredentials(...You user...))
                .UseHttpClient(httpHandlerWithSomeProxy)
                .Build();
Note: every API method has synchronous implementation as well.

Wiki

Wiki page coming soon...

License

Do whatever you want to do!

Terms and conditions

  • Use this Api at your own risk.
  • By using this api in your app, you agreed Instagram Policy.
  • Please don't use this library for sending spam or massive direct messages.

Contribute

Feel free to contribute and submit pull requests.

Thanks

Special thanks to mgp25 and his php wrapper.

Legal

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.

About

An complete Private Instagram Api for .NET (C#, VB.NET).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%