If you want to showcase a project you've made with this library, create an Issue with the Showcase label. Other than that issues are purely for bugs, if you're having an implementation issue, please send a message in the gitter conversation.
A C# port of TikTok Live connector library (See here, here and here for more in-depth documentation). The primary incentive behind designing this library was to allow direct implementation of the TikTok Live connector into Unity, it's implemented in .NET Standard and should work universally across all .NET supported platforms. An older version of Protobuf-net was used to ensure Unity compatibility.
var client = new TikTokLiveClient(uniqueID);
client.OnCommentRecieved += Client_OnCommentRecieved;
client.Run();
private static void Client_OnCommentRecieved(object sender, WebcastChatMessage e)
{
Console.WriteLine($"{e.User.uniqueId}: {e.Comment}");
}
This is not an official library nor associated with TikTok in any way.
A Unity package can be downloaded from the releases. With Unity projects, replace usage of the TikTokLiveClient's Run method with Start to prevent blocking.
The latest release can be found in the Nuget Package Manager or by entering the command:
Install-Package TikTokLiveSharp
Or by navigating to the Nuget URL.