getSpaceTweets(__fields_expansions_) - daneden/Twift GitHub Wiki
getSpaceTweets(_:fields:expansions:)
Returns Tweets shared in the requested Spaces.
public func getSpaceTweets(_ spaceId: Space.ID,
fields: Set<Tweet.Field> = [],
expansions: [Tweet.Expansions] = []
)
Equivalent to GET /2/spaces/:id/tweets
Parameters
- spaceId: Unique identifier of the Space containing the Tweets you'd like to access.
- fields: Any additional fields to include on returned objects
- expansions: Objects and their corresponding fields that should be expanded in the
includes
property
Returns
A response object containing an array of Tweets shared in the Space, and any requested expansions