> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# User Tweets

> Fetches tweets from a Twitter user's profile by handle. Note: Twitter publicly returns only ~100 of the user's most popular tweets, not chronological or latest. Each tweet includes rest_id, full_text, views count, favorite_count, retweet_count, reply_count, bookmark_count, quote_count, created_at, media entities, and url. Supports a trim parameter for a lighter response.

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `handle` | `string` | Yes | Twitter handle |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "tweets": [
    {
      "rest_id": "1834021269559501236",
      "views": {
        "count": "4710824",
        "state": "EnabledWithCount"
      },
      "source": "<a href=\"http://twitter.com/download/iphone\" rel=\"nofollow\">Twitter for iPhone</a>",
      "legacy": {
        "bookmark_count": 2634,
        "bookmarked": false,
        "created_at": "Thu Sep 12 00:08:39 +0000 2024",
        "conversation_id_str": "1834021269559501236",
        "display_text_range": [
          0
        ],
        "entities": {
          "hashtags": [],
          "symbols": [],
          "timestamps": [],
          "urls": [],
          "user_mentions": []
        },
        "favorite_count": 129276,
        "favorited": false,
        "full_text": "Wife: “What did your teacher remember about September 11th?”\n\nNine-year-old: “She was only four then, she doesn’t remember it at all.”",
        "is_quote_status": false,
        "lang": "en",
        "quote_count": 674,
        "reply_count": 388,
        "retweet_count": 2901,
        "retweeted": false,
        "user_id_str": "221838349",
        "id_str": "1834021269559501236"
      },
      "url": "https://x.com/Austen/status/1935730646267158797"
    }
  ]
}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.