Is there an API available to use in a ! command for fetching the latest video uploaded to tikok?
TikTok API for latest video
1 reply
Hey @Topaz Leopard!
There isn't, for a good reason: the endpoints aren't open, meaning that for a user to fetch the URL of their last video, they need to authenticate with TikTok first.
But if you want, you can set it up using this endpoint, then once you have the response, you can get the last video's link like this: response.data.videos[0].share_url