ScrapeCreators icon

ScrapeCreators

Scrape data from various social media platforms using ScrapeCreators API

Twitter → Get User Tweets

AI-generated

Summary

Retrieve a user's most popular tweets from Twitter.

Inputs

  • handle (required) — Twitter handle (username without @). Returns up to 100 of the user's most popular tweets.
  • trim — Whether to get a trimmed down version of the response.

Output shape

Array of tweet objects representing the user's most popular tweets (up to 100).

Twitter publicly only returns 100 of the user's most popular tweets; these are not necessarily the user's latest tweets.

Examples

Example 1: Fetch popular tweets for a specific handle

Set handle to 'levelsio'; leave trim at default false.

Links

Discussion