Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jwdeveloper/instagramlive
Receive live stream events (comments, gifts, etc.) in realtime from Instagram LIVE.
https://github.com/jwdeveloper/instagramlive
insta instagram interactive live livegames liveinstagram
Last synced: 1 day ago
JSON representation
Receive live stream events (comments, gifts, etc.) in realtime from Instagram LIVE.
- Host: GitHub
- URL: https://github.com/jwdeveloper/instagramlive
- Owner: jwdeveloper
- Created: 2024-07-18T15:25:34.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-07-18T16:15:41.000Z (4 months ago)
- Last Synced: 2024-07-18T19:43:31.628Z (4 months ago)
- Topics: insta, instagram, interactive, live, livegames, liveinstagram
- Language: C#
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Introduction
A C# library dedicated for connecting to Instagram live.Join the support [discord](https://discord.gg/e2XwPNTBBr) 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
```java```
2. Create your first chat connection
```C#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 "[email protected]());
})
.OnSystemComment((liveClient, @event) =>
{
Console.WriteLine("System Comment "[email protected]());
})
.Build();await client.Connect("jacolwol");
```## Contributing
[Library documentation for contributors](https://github.com/jwdeveloper/TikTokLiveJava/wiki)
Your improvements are welcome! Feel free to open an issue or pull request.