lib/twitter/rest/tweets.rb
# Show up to 100 users who retweeted the Tweet
#
# @see https://dev.twitter.com/rest/reference/get/statuses/retweets/:id
# @rate_limited Yes
# @authentication Requires user context
# @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
# @return [Array]
# @param tweet [Integer, String, URI, Twitter::Tweet] A Tweet ID, URI, or object.
# @param options [Hash] A customizable set of options.
# @option options [Integer] :count Specifies the number of records to retrieve. Must be less than or equal to 100.
# @option options [Boolean, String, Integer] :trim_user Each tweet returned in a timeline will include a user object with only the author's numerical ID when set to true, 't' or 1.
# @option options [Boolean] :ids_only ('false') Only return user IDs instead of full user objects.
Show up to 100 users who retweeted the Tweet
Show up to 100 users who retweeted the Tweet
def retweeters_of(tweet, options = {})
        options = options.dup
        ids_only = !!options.delete(:ids_only)
        retweeters = retweets(tweet, options).collect(&:user)
        ids_only ? retweeters.collect(&:id) : retweeters
      end
def retweeters_of ( tweet , options = { } ) options = options . dup ids_only = ! ! options . delete ( :ids_only ) retweeters = retweets ( tweet , options ) . collect ( & :user ) ids_only ? retweeters . collect ( & :id ) : retweeters end
Show up to 100 users who retweeted the Tweet
Show up to 100 users who retweeted the Tweet
None
Array
[Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
[ Twitter :: Error :: Unauthorized ] Error raised when supplied user credentials are not valid .
tweet
A Tweet ID, URI, or object.
A Tweet ID URI or object .
options
:ids_only ('false') Only return user IDs instead of full user objects.
: ids_only ( ' false ' ) Only return user IDs instead of full user objects .
see
None
rate_limited
None
authentication
Requires user context
Requires user context