getLikedTweets
Retrieve a user's liked tweets using their user ID. Specify the number of results and include additional tweet fields for detailed insights on Twitter MCP Server.
Instructions
Get a list of tweets liked by a user
Input Schema
Name | Required | Description | Default |
---|---|---|---|
maxResults | No | The maximum number of results to return (default: 100, max: 100) | |
tweetFields | No | Additional tweet fields to include in the response | |
userId | Yes | The ID of the user whose likes to fetch |
Input Schema (JSON Schema)
{
"properties": {
"maxResults": {
"description": "The maximum number of results to return (default: 100, max: 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"tweetFields": {
"description": "Additional tweet fields to include in the response",
"items": {
"enum": [
"created_at",
"author_id",
"conversation_id",
"public_metrics",
"entities",
"context_annotations"
],
"type": "string"
},
"type": "array"
},
"userId": {
"description": "The ID of the user whose likes to fetch",
"type": "string"
}
},
"required": [
"userId"
],
"type": "object"
}