Skip to content

Instantly share code, notes, and snippets.

View rikki-312's full-sized avatar

リッキー rikki-312

  • 千葉県千葉市花見川区
View GitHub Profile
@kentbrew
kentbrew / finding_twitter_user_id.md
Last active June 10, 2024 22:21
Finding Twitter User IDs

Finding Twitter User IDs

User accounts on Twitter are commonly identified by screen name, which may be changed by operators when they take over an account, or have been sitting on an old account for a long time and want to transition it into malicious use.

User IDs, however, are permanent. There are several services out there that will try to find them for you but it seems like a bad idea to me, since you're alerting them to the fact that there's something interesting about this account. There's also plenty of bad advice that uses many long-since-abandoned Twitter API endpoints.

As of this writing (2018-02-18) you can view source and search for /profile_banners/, which will show something like this:

.enhanced-mini-profile .mini-profile .profile-summary {