User search on name breaking when the name consists of symbols only


#1

I’m trying to add a feature to my application that searches a Twitter user’s name (not screen name) and returns a list of all users found. It all works fine until I try to search a name with only symbols.

I’ve changed my name on Twitter to “!£$”, but when I try to search for it I get a TwitterQueryException with the message “Missing or invalid url parameter”.

My query works fine for non symbol names. The only thing I can think of trying is Url Encoding the name but I get the same result.