Skip to content

[BUG] 200 empty body response for user-level queries #1311

Description

@EpicTia93

Describe the bug

api.user(username).videos(count=30) is gone. That API call stopped working: TikTok now authorizes /api/post/item_list/ with an X-Gnarly signature, and TikTokApi only sends the superseded X-Bogus, so those calls return 200 with an empty body.

That call with ms_token as the only seeded input doesn't work anymore.

The buggy code

examples/user_example.py works to identify the bug.

Expected behavior

Essentially fetching user-level stats, other endpoints (i.e. trending_videos) who don't have user focus still work with ms_token alone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions