getUserMentions
Retrieve posts mentioning a specific user on X.com with options for pagination, time filtering, and field selection.
Instructions
Get posts that mention a specific user
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The user ID whose mentions to retrieve | |
| pagination_token | No | Token for pagination | |
| max_results | No | Maximum number of results | |
| expansions | No | Comma-separated list of expansion fields | |
| tweet.fields | No | Comma-separated list of tweet fields to include | |
| user.fields | No | Comma-separated list of user fields to include | |
| start_time | No | Start time for the mentions | |
| end_time | No | End time for the mentions | |
| since_id | No | Only return posts after this ID | |
| until_id | No | Only return posts before this ID |