Search API doesn't work with @



I’m using the new API and noticed something slightly funny. If I do a search using, for example ‘apple’ then I get the list of tweets returned. However, if I search for ‘@apple’ I get {“errors”:[{“message”:“Could not authenticate you”,“code”:32}]} and http return code 401 Unauthorized.

How could I be authorized to search for apple but not @apple ?



OK so this seems to be do with encoding - see eg where @episod says “It could be that you have some mis-encoded values in the parameters you’re sending – check what your track terms are if you’re sending them and verify everything is a) UTF-8 and b) percent-encoded properly for HTTP 1.1 and c) your OAuth library is re-encoding that valid HTTP 1.1 percent-encoded data.”.

See also