Is there a Streaming equivalent of GET users/search?


#1

I want to programmatically search for user accounts by people’s names. Basically the equivalent of typing a name into https://twitter.com/invitations/find_on_twitter.

It seems like GET users/search is the way to do this in the REST API. Is there an equivalent in the Streaming API, or should I use the REST API to do this?

(From my understanding of the documentation, I think the answer is no, and the Streaming API only returns Tweets, but I new to Twitter development so I want to be sure.)


#2

The Streaming API just sends data (mostly tweets as you said) in real time as it happens. It’s not really a query-and-response kind of system like the REST API is, so the idea of “search” really is only possible with the REST API.