From b231716e5d5eababf989b0a573ce4826c65c967c Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Thu, 19 Sep 2024 12:26:37 +0200 Subject: [PATCH] solve accesstoken stuff --- tiktok/tiktok.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tiktok/tiktok.go b/tiktok/tiktok.go index 39d6339..b51fc3b 100644 --- a/tiktok/tiktok.go +++ b/tiktok/tiktok.go @@ -10,6 +10,9 @@ type ITiktok interface { HealthCheck() error IsDebug() bool CodeAuthUrl() string + SetAccessToken(token string) + GetAccessToken() string + // GetClientAccessTokenManagement() (*AccessTokenManagement, error) CreatorInfo() (*QueryCreatorInfoResponse, error) PostVideoInit(title, videoUrl string, privacyLevel string) (*PublishVideoResponse, error)