Method: Twitter::Client::Tweets#retweets
- Defined in:
- lib/twitter/client/tweets.rb
#retweets(id, options = {}) ⇒ Array<Twitter::Status>
Returns up to 100 of the first retweets of a given tweet
50 51 52 53 54 |
# File 'lib/twitter/client/tweets.rb', line 50 def retweets(id, ={}) get("/1/statuses/retweets/#{id}.json", ).map do |status| Twitter::Status.new(status) end end |