Previously, I have been using this URL for retrieving the metadata of a public TikTok video:
This URL used to return an itemInfo dictionary with all the necessary data: video title and duration, author, etc.
Now, this no longer works and is throwing 403 errors. I have tried to register my app in TikTok for developers. There seems to be a dedicated endpoint to query video details (https://developers.tiktok.com/doc/tiktok-api-v2-video-query/), however I can't understand how to get an authorization code, which is in its turn required to get the access token. Do I have to implement the TikTok login for it first? This seems too redundant and difficult.
What is the simplest way to query video details from TikTok (I am using python)?