InstaLiveDotNet 1.0.0

dotnet add package InstaLiveDotNet --version 1.0.0
                    
NuGet\Install-Package InstaLiveDotNet -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="InstaLiveDotNet" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="InstaLiveDotNet" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="InstaLiveDotNet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add InstaLiveDotNet --version 1.0.0
                    
#r "nuget: InstaLiveDotNet, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package InstaLiveDotNet@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=InstaLiveDotNet&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=InstaLiveDotNet&version=1.0.0
                    
Install as a Cake Tool

Introduction

A C# library dedicated for connecting to Instagram live.

Join the support discord and visit the #instagram-support channel for questions, contributions and ideas. Feel free to make pull requests with missing/new features, fixes, etc

NOTE: This is not an official API. It's a reverse engineering project.

Getting started

  1. Install the package

  2. Create your first chat connection


var client = InstagramLive
    .NewClient()
    .Configure(properties =>
    {
        //User credentials to login
        properties.UserName = "username";
        properties.Password = "********";

        //Or sessionId + deviceId
        properties.SessionId = "session id";
        properties.DeviceId = "device id    ";
    })
    .OnError((live, @event) =>
    {
        Console.WriteLine($"we have error { @event.Exception.Message}");
    })
    .OnConnected((live, @event) =>
    {
        Console.WriteLine("Connected to live");
    })
    .OnDisconnected((liveClient, data) =>
    {
        Console.WriteLine("OnDisconnected to live");
    })
    .OnJoin((liveClient, data) =>
    {
        Console.WriteLine("User joined to live "+data.ToJson());
    })
    .OnComment((live, @event) =>
    {
        Console.WriteLine("Comment "+@event.ToJson());
    })
    .OnSystemComment((liveClient,  @event) =>
    {
        Console.WriteLine("System Comment "+@event.ToJson());
    })
    .Build();




await client.Connect("jacolwol");

Contributing

Library documentation for contributors

Your improvements are welcome! Feel free to open an <a href="https://github.com/jwdeveloper/TikTok-Live-Java/issues">issue</a> or <a href="https://github.com/jwdeveloper/TikTok-Live-Java/pulls">pull request</a>.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 147 7/18/2024

Initial release.