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.

[BUG] - It seems that a csrf_session_id is now needed in cookies

See original GitHub issue

userPosts endpoint stops to work on my side since several hours. According to my first investigations, It seems a new cookie is now needed : csrf_session_id

I tried to fix that but was not able to make it work again for now

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
davidteathercommented, Jun 24, 2021

byUsername is triggering captcha response again while getUser ** is not. Same verifyfp, same code.

Due to the way TikTok exposes data by_username has to make a HTML request to find the secUid & user id of the username which is more likely to get detected than the API requests. get_user this information is provided

1reaction
dylancaponicommented, Jun 10, 2021

For me, byUsername, which calls userPosts, has not been working for 3 days. getUser continues to function without issue.

I’m using identical code (minus the actual function call) and the same verifyfp.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix 10 Common Cookie Problems | Cook's Illustrated
Troubleshoot everything from unevenly baked batches to the dreaded melted-together megacookie. Problem #1: The last cookies always seem short on chips. Solution ...
Read more >
What's Wrong With My Cookies? A Troubleshooting Guide
If your cookies are flat, brown, crispy, and possibly even a bit lacy around the edges, that means you need to add flour...
Read more >
Why are My Cookies Flat? - Food52
A wacky ratio of sugar, butter, and fat.​​ Too much sugar, too much butter, or too little flour can all contribute to cookies...
Read more >
The Best New York Style Chocolate Chip Cookies You'll Ever ...
OHH MY! You will never eat a cookie as delicious as these! Super fat chunky cookies with a crispy shell and a soft...
Read more >
Why Are My Cookies Flat? How to Prevent Spreading
The Problem: Your Oven Is Too Hot​​ If your cookies repeatedly turn out flat, no matter the recipe, chances are your oven is...
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