retweets(for_fields_expansions_paginationToken_maxResults_) - daneden/Twift GitHub Wiki
Allows you to get information about who has Retweeted a Tweet.
public func retweets(for tweetId: Tweet.ID,
fields: Set<User.Field> = [],
expansions: [User.Expansions] = [],
paginationToken: String? = nil,
maxResults: Int = 10
)
Equivalent to GET /2/tweets/:tweet_id/retweeted_by
- tweetId: Tweet ID of the Tweet to request Retweeting users of.
- fields: Any additional fields to include on returned objects
- expansions: Objects and their corresponding fields that should be expanded in the
includes
property
A response object containing an array of users who retweeted the target Tweet, and any associated expansions