From dfd4bdded561ec171bd679c7e0e02dca5be762d5 Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Sun, 28 Jul 2024 10:57:19 +0200 Subject: [PATCH] added scopes --- tiktok/tiktok.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiktok/tiktok.go b/tiktok/tiktok.go index da37dd2..233ba0e 100644 --- a/tiktok/tiktok.go +++ b/tiktok/tiktok.go @@ -36,7 +36,7 @@ func NewTikTok(clientKey, clientSecret string, isDebug bool) (ITiktok, error) { ClientID: clientKey, ClientSecret: clientSecret, RedirectURL: "", - Scopes: []string{"email"}, + Scopes: []string{"user.info.basic", "video.list", }, Endpoint: Endpoint, }, }