3

How to perform this call using the twitter gem?

I tried:

client.search('sachin')

but that returns Twitter::SearchResults which contains only tweets.

4

1 回答 1

6

Use Twitter::REST::Users#user_search

So, using your example, client.user_search('sachin').

于 2014-08-04T19:12:13.523 回答