Module: Twitter::API::Search
- Includes:
- Utils
- Defined in:
- lib/hackeroo/api/search.rb
Instance Method Summary collapse
-
#search(q, options = {}) ⇒ Twitter::SearchResults
Returns tweets that match a specified query.
Instance Method Details
#search(q, options = {}) ⇒ Twitter::SearchResults
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/hackeroo/api/search.rb', line 31 def search(q, ={}) object_from_response(Twitter::SearchResults, :get, "/1.1/search/tweets.json", .merge(:q => q)) end |