Show HN: Twitter API Reverse Engineered
github.com
Show HN: Twitter API Reverse Engineered
1–10 of 41 posts
Re: Show HN: Twitter API Reverse Engineered
#2Re: Show HN: Twitter API Reverse Engineered
#3Re: Show HN: Twitter API Reverse Engineered
#4We may soon find ourselves needing to run headless browsers to scrape data, like with TikTok: https://nullpt.rs/reverse-engineering-tiktok-vm-1
Re: Show HN: Twitter API Reverse Engineered
#5Re: Show HN: Twitter API Reverse Engineered
#6I noticed it uses fixed Auth header, is it from your session or consistent across session/user?
Re: Show HN: Twitter API Reverse Engineered
#7This was inevitably going to get more popular after the new API pricing was announced. Unfortunately this also means they're going to start being more aggressive on bot detection. We may soon find ourselves needing to run headless browsers to scrape data, like with TikTok: https://nullpt.rs/reverse-engineering-tiktok-vm-1
Re: Show HN: Twitter API Reverse Engineered
#8Huh, TIL Twitter uses GraphQL under the hood: https://github.com/trevorhobenshield/twitter-api-client/blob...
Re: Show HN: Twitter API Reverse Engineered
#9This was inevitably going to get more popular after the new API pricing was announced. Unfortunately this also means they're going to start being more aggressive on bot detection. We may soon find ourselves needing to run headless browsers to scrape data, like with TikTok: https://nullpt.rs/reverse-engineering-tiktok-vm-1
Re: Show HN: Twitter API Reverse Engineered
#10I noticed it uses fixed Auth header, is it from your session or consistent across session/user?
For some reason Twitter’s frontend uses a hard-coded bearer token, at least for anonymous users. You’ll see exactly the same string if you load a Twitter page and look at the XHR requests in your own browser. (It seems to change occasionally, but old ones keep working in my experience.)