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').
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With