getLikingUsers(for_fields_expansions_) - daneden/Twift GitHub Wiki
Allows you to get information about a Tweet’s liking users.
public func getLikingUsers(for tweetId: Tweet.ID,
fields: Set<User.Field> = [],
expansions: [User.Expansions]
)
Equivalent to GET /2/tweets/:id/liking_users
- tweetId: Tweet ID of the Tweet to request liking 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 that like the target Tweet