How to get information abuot user (TikTok, Instagram)

What is the best way to obtain information about a user (followers, username, likes…) from TikTok and Instagram? I would like users of my application to be able to use this option

I would look at their APIs.

Here’s Instagram’s: Instagram APIs | Facebook for Developers

Here’s TikTok’s: https://developers.tiktok.com/