InstagramApiSharp documentation.

This documentation refers to InstagramApiSharp private version

Quick Start

  1. A quick example of InstagramApiSharp's usage:
  2. 
        IInstaApi instaApi = InstaApiBuilder.CreateBuilder()
        .SetUser(UserSessionData.ForUsername("Username").WithPassword("PASSWORD"))
        .SetSessionHandler(new FileSessionHandler { FilePath = "SESSION.bin" })
        .Build();
    
        var loginResult = await instaApi.LoginAsync();
        if (loginResult.Succeeded)
        {
            Console.WriteLine("User logged in successfully.");
        }
        else
        {
            Console.WriteLine($"Couldn't sign-in, Result: {loginResult.Value}");
        }
    
Back to top Ramtin Jokar [ Ramtinak@live.com ] (c) 2021 | InstagramApiSharp