Giter VIP home page Giter VIP logo

instasharper's Introduction

InstagramApi [InstaSharper]

Tokenless, butthurtless private API for Instagram. Get account information, media, explore tags and user feed without any applications and other crap.

Note that: there is a simple Instagram API based on web-version of Instagram. This repository based on Instagram API for mobile devices.

Build status Build status NuGet MyGet Telegram chat GitHub stars

Current version: 1.3.8 [Stable], 1.4.0 [Under development]

Overview

This project intends to provide all the features available in the Instagram API up to 12.0.0.7.91. It is being developed in C# for .NET Framework 4.5.2 and .NET Standart 2.0

This repository is provided for reference purposes only.

  • Please note that this project is still in design and development phase; the libraries may suffer major changes even at the interface level, so don't rely (yet) in this software for production uses. *

Cross-platform by design

Build with dotnet core. Can be used on Mac, Linux, Windows.

Easy to install

Use library as dll, reference from nuget or clone source code. Pre-release version available at myget feed together with symbols

Features

Currently the library supports following coverage of the following Instagram APIs:


  • Login
  • Logout
  • Get user explore feed
  • Get user timeline feed
  • Get all user media by username
  • Get media by its id
  • Get user info by its user name
  • Get current user info
  • Get tag feed by tag value
  • Get current user media
  • Get followers list
  • Get followers list for currently 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
  • Get followings list
  • Delete media (photo/video)
  • Upload story (photo)
  • Change password
  • Send direct message
for more details please check Project roadmap

Easy to use

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

Quick Examples

Login

IResult<bool> loggedIn = await api.LoginAsync();

Get user:

IResult<InstaUser> user = await api.GetUserAsync();

Get all user posts:

IResult<InstaMediaList> media = await api.GetUserMediaAsync();

Get media by its code:

IResult<InstaMedia> mediaItem = await api.GetMediaByIdAsync("1234567891234567891_123456789);

Get user timeline feed:

IResult<InstaFeed> feed = await api.GetUserFeedAsync();

Comment post:

IResult<bool> postResult = await apiInstance.CommentMediaAsync("1234567891234567891_123456789", "Hi there!");
for more samples you can look at Examples folder

Special thanks

ADeltaX for contribution

mgp25 and his php wrapper for providing us with device id

License

MIT

Terms and conditions

  • Anyone who uses this wrapper MUST follow Instagram Policy
  • Provided project MUST NOT be used for marketing purposes
  • I will not provide support to anyone who wants this API to send massive messages/likes/follows and so on
  • Use this API at your own risk

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.

Code provided for reference purposes only.

instasharper's People

Contributors

a-legotin avatar adeltax avatar n0ise9914 avatar vitalragaz avatar kevinlamb avatar melnikovig avatar lordofhammsters avatar

Watchers

James Cloos avatar  avatar Oleksiy Chaplanov 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.