TikHub icon

TikHub

Interact with TikHub API (TikTok, Instagram, YouTube, Twitter)

Twitter → Get User Tweets

AI-generated

Summary

Retrieve a list of tweets posted by a specific Twitter user.

Inputs

  • Screen Name (required) — The Twitter screen name (username without the '@' symbol) of the user whose tweets you want to retrieve.
  • Cursor — A pagination cursor obtained from a previous request to fetch the next page of tweets.

Output shape

A JSON object containing tweet data and pagination information.

The output typically includes a list of tweets and a cursor value that can be used in a subsequent request to retrieve older tweets.

Examples

Example 1: Get the latest tweets from a public figure.

Set 'Screen Name' to 'elonmusk'.

Example 2: Paginate through an individual's tweet history.

Set 'Screen Name' to 'n8n_io' and provide a 'Cursor' value from a prior execution to fetch the next set of tweets.

Discussion