Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #103, empty json data for live info. #104

Conversation

steampoweredtaco
Copy link

Fixes #103

Built and tested on my end against a live user and everything seems to connect and work now.

TikTok changed something almost two days ago, the version_code is removed and will break getting the Live info endpoint and removing it doesn't seem to affect anything else. We had to put in a similar fix to the node-js library.

That wasn't enough to fix this library though.

It appears that this library was missing the first part of the USER_AGENT as well and that was also causing the issue. Once I updated it with Mozilla in the front it started working. I went ahead and made a new BROWSER_VERSION value for that parameter. It still seemed to work with the modified user agent, but I made it equal to what our browsers are still sending tiktok.

@frankvHoof93 frankvHoof93 changed the base branch from main to development December 14, 2024 16:14
@frankvHoof93 frankvHoof93 self-requested a review December 14, 2024 16:14
@frankvHoof93 frankvHoof93 merged commit f8b1a9f into frankvHoof93:development Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Json data from request on attempt to connect is empty
2 participants