mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-28 09:19:40 -05:00
Update README.md
This commit is contained in:
@@ -62,7 +62,7 @@ Do you prefer other programming languages?
|
|||||||
public static void main(String[] args)
|
public static void main(String[] args)
|
||||||
{
|
{
|
||||||
// Username of someone who is currently live
|
// Username of someone who is currently live
|
||||||
var tiktokUsername = "officialgeilegisela";
|
var tiktokUsername = "jwdevtiktok";
|
||||||
|
|
||||||
TikTokLive.newClient(tiktokUsername)
|
TikTokLive.newClient(tiktokUsername)
|
||||||
.onConnected(event ->
|
.onConnected(event ->
|
||||||
@@ -97,7 +97,7 @@ public class ConfigurationExample
|
|||||||
{
|
{
|
||||||
public static void main(String[] args) throws IOException {
|
public static void main(String[] args) throws IOException {
|
||||||
|
|
||||||
TikTokLive.newClient(Main.TEST_TIKTOK_USER)
|
TikTokLive.newClient("jwdevtiktok")
|
||||||
.configure(clientSettings ->
|
.configure(clientSettings ->
|
||||||
{
|
{
|
||||||
clientSettings.setHostName(Main.TEST_TIKTOK_USER); //tiktok user
|
clientSettings.setHostName(Main.TEST_TIKTOK_USER); //tiktok user
|
||||||
|
|||||||
Reference in New Issue
Block a user