Twitter / X have user intent URLs so that you can auto-resolve from a user id to a profile url:
These work if you are logged in to twitter - but if you're not logged in they go to an error page.
If someone can help me find a way around this I'll pay the bounty.
Thanks! :)
25,000 sats bounty
GET https://api.twitter.com/1.1/users/show.json?user_id=ID