News for hackers. Stuff that matters.

How many Twitter users can be mentioned in a single tweet?

So glad you asked!

Legal characters for Twitter handles are case-insensitive alphanumerics (36) and underscore (1). So:

37 legal two-character names (e.g. "@a") = 74 characters

7 three-character names (e.g. "@aa") = 21 characters

43 spaces to join 44 handles = 43 characters

74 + 21 + 43 = 138

So, the answer is: 44!

( 2 comments | 7 points | on HN )
Re:How many Twitter users can be mentioned in a single tweet? by azzese on Saturday November 01, 2014 @07:08PM (#8544960)
#AnyCharacter space #Any Character and so on .... I don't understand your solution #a #b #c .... 140/3(# + any character + space) = 46 one character users in a tweet?
Re:How many Twitter users can be mentioned in a single tweet? by mcintyre1994 on Saturday November 01, 2014 @08:00PM (#8545073)
The op points out there are only 37 one character users though.