Giter Site home page Giter Site logo

instagramapisharp's Introduction

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.2.2 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.

Contract, warning, note

Every method returns object IS NOT COMPLETED YET! For example:

Task<IResult<object>>

Version changes

v1.0.2.2

  • Share story added.
  • Access to StoryProcessor added.

v1.0.2.1

  • GetStateDataAsString and LoadStateDataFromString added.

v1.0.2

  • Inline comments support(send and get)

v1.0.1

  • Fix Challenge required api. Now you can verify your email or phone number with challenge required functions.

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.

Donation

If you in Iran, feel free to donate: https://zarinp.al/@ramtin

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.

instagramapisharp's People

Contributors

ramtinak avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.