How to get the Twitter profile ID from an Twitter-account

Den Bosch Nieuws

Sometimes you need the profileID or accountID of your Twitter-account. There are some tools available who can give you that information, but you can do it easily yourself.

  1. Go to the twitter-account of which you need to know the ID-number. In this case (my account, feel free to follow)
  2. Click with your right mouse button on the Follow-button and click in the menu on Inspect
  3. Search in the displayed HTML-code for the element with the part 'data-testid'. In my case: 'data-testid="22616014-follow"'.
  4. The profile ID is the number before '-follow'. In this case: 22616014

| Aangepast: 2021-11-05 10:29:31