result = client.tiktok.user_info_from_secuid( sec_uid="MS4wLjABAAA..." ) user = result.data["user"] print("Username:", user["unique_id"]) print("Nickname:", user["nickname"]) print("Followers:", user["follower_count"]) print("Posts:", user["aweme_count"]) print("Likes:", user["total_favorited"])
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter