logoalt Hacker News

carlgreeneyesterday at 8:04 PM1 replyview on HN

It used the browser agent to grab user cookies after signing in, then made API calls iirc.

Using just a browser is way too token intensive and slow. It would look for 401 errors then run the browser automation to login with the credentials and grab the token.


Replies

echelonyesterday at 8:26 PM

I'm surprised these platforms don't have advanced heuristics to detect API calls and inauthentic traffic.

Did you clone the Reddit API from browser traffic and then turn it into a 100% API driven thing?

I'd imagine they'd be sniffing browser agents, plugins, cookies, etc. to fingerprint. Using JavaScript scroll position, browsing rate and patterns, etc.

Maybe their protections just aren't that sophisticated.

show 1 reply