Module: Twitter::API::Search
Constant Summary
Constant Summary
Constants included from Utils
Instance Method Summary (collapse)
-
- (Twitter::SearchResults) search(q, options = {})
Returns tweets that match a specified query.
Instance Method Details
- (Twitter::SearchResults) search(q, options = {})
Note:
Please note that Twitter's search service and, by extension, the Search API is not meant to be an exhaustive source of Tweets. Not all Tweets will be indexed or made available via the search interface.
Returns tweets that match a specified query.
31 32 33 |
# File 'lib/twitter/api/search.rb', line 31 def search(q, ={}) object_from_response(Twitter::SearchResults, :get, "/1.1/search/tweets.json", .merge(:q => q)) end |