twitter-api-client
Version:
Node.js / JavaScript client for Twitter API
23 lines (22 loc) • 1.03 kB
TypeScript
export interface UsersIdTweetsParams {
/**
* Unique identifier of the Twitter account (user ID) for whom to return results. User ID can be referenced using the user/lookup endpoint.
*/
'id': string;
/**
* Expansions enable you to request additional data objects that relate to the originally returned Tweets. Submit a list of desired expansions in a comma-separated list without spaces.
*/
'expansions'?: string;
/**
* Specifies the number of Tweets to try and retrieve, up to a maximum of 100 per distinct request. By default, 10 results are returned if this parameter is not supplied.
*/
'max_results'?: string | number;
/**
* This parameter is used to move forwards or backwards through 'pages' of results, based on the value of the next_token or previous_token in the response.
*/
'pagination_token'?: string;
/**
* Returns results with a Tweet ID less less than (that is, older than) the specified 'until' Tweet ID.
*/
'until_id'?: string;
}