From b3c82d706253d45222b785cb4bdbc7e4991547c5 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Sun, 2 Feb 2025 15:06:53 -0700 Subject: [PATCH] set api call to long_term --- music/explore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music/explore.php b/music/explore.php index 7585d86..4e3da73 100644 --- a/music/explore.php +++ b/music/explore.php @@ -114,7 +114,7 @@ function get_albums($auth_code, $client_id, $client_secret) { if ($_SESSION['data'] == null) { $access_token = get_access_token($auth_code, $client_id, $client_secret); - $url = 'https://api.spotify.com/v1/me/top/tracks'; + $url = 'https://api.spotify.com/v1/me/top/tracks?time_range=long_term'; $ch = curl_init($url);