Class: Twitterland::BackTweets
- Inherits:
-
Object
- Object
- Twitterland::BackTweets
- Includes:
- HTTParty
- Defined in:
- lib/twitterland/back_tweets.rb
Class Method Summary collapse
-
.search(q, api_key) ⇒ Object
Return tweet referencing a URL Get your api_key at www.backtype.com/developers.
Class Method Details
.search(q, api_key) ⇒ Object
Return tweet referencing a URL Get your api_key at www.backtype.com/developers
Twitterland::BackTweets.search('http://squeejee.com', 'OU812')
11 12 13 |
# File 'lib/twitterland/back_tweets.rb', line 11 def self.search(q, api_key) rubyize_response(Mash.new(get("/search.json", :query => {:q => q, :key => api_key}))) end |