question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trending endpoint only returns videos owned by @TikTok

See original GitHub issue

First off, awesome lib.

Followed README and youtube tutorial, however, seems like this script isn’t loading the trending page correctly (possible pebcak).

I’ve reset my custom_verifyFp multiple time, however, each time I call the by_trending method, the only responses I get are owned by @tiktok. I’ve also tried setting a few different opts as named params in the get_instance method, but still to no avail.

Examples below. Cheers!

Request

code = "verify_ksaqrte0_xxxxxxxxxxxxxxxxxxx"
api = TikTokApi.get_instance(custom_verifyFp=code)
x = api.by_trending(custom_device_id="xxx")
for i in x:
    print(i["author"]["uniqueId"])

Response

python main.py
tiktok
tiktok
tiktok
tiktok
...

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

13reactions
MuhammedEminKcommented, Aug 14, 2021

same

13reactions
lionneclementcommented, Aug 13, 2021

Same

Read more comments on GitHub >

github_iconTop Results From Across the Web

List Videos - TikTok for Developers
The /v2/video/list/ endpoint can return a paginated list for the given user's public TikTok video posts, sorted by create_time in descending order.
Read more >
TikTok API: Create, Customize and Automate Content
This allows developers to add features to apps such as a scrolling view of the most popular videos and social sharing buttons placed...
Read more >
Vulnerability in TikTok Android app could lead to one-click ...
Microsoft discovered a high-severity vulnerability in the TikTok Android application, which could have allowed attackers to compromise ...
Read more >
How the TikTok Algorithm Works (and How to Work With It in ...
No two users will see the same videos on their For You page, and the videos you see might change over time based...
Read more >
Videos: list | YouTube Data API - Google Developers
dislike – Returns only videos disliked by the authenticated user. ... This parameter is intended for YouTube content partners that own and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found