Search "from:<someuser> :)" works in web UI but not API


#1

Hi,

Trying to do a twitter API search for “from:someuser :)”.

It seems to work in the web UI (i.e., twitter website) but not via API.

I tried both using the dev console and via my scripts. Search for “@someuser :)” (without from) works but doesn’t get me the tweets I’m looking for.

Am I missing anything or is this just not supported?

Any help would be greatly appreciated.


#2

OK. Figured it out. Appears you need to use URL encoding for the :slight_smile: and :(.