How to perform this call using the twitter gem?
I tried:
client.search('sachin')
but that returns Twitter::SearchResults
which contains only tweets.
How to perform this call using the twitter gem?
I tried:
client.search('sachin')
but that returns Twitter::SearchResults
which contains only tweets.
Use Twitter::REST::Users#user_search
So, using your example, client.user_search('sachin')
.