Get Following IDs
tweetapi_user_following_idsFetch one page of numeric user IDs that a given user follows, with cursor-based pagination for walking large following graphs. Read-only; use the returned next cursor to request the next page.
Instructions
Fetch one page of user IDs (strings only, no profiles) that a user ID follows. Cheapest way to walk a large following graph. Read-only. Needs a TweetAPI API key and makes one TweetAPI request per call, usually costing 1 unit; each result includes a cost estimate. Returns one page: to get the next one, call again with cursor set to this result's completeness.nextCursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Page size from 1 to 500. Omit it for the default. | |
| cursor | No | completeness.nextCursor from the previous page. Omit it for the first page. | |
| userId | Yes | Numeric user ID. This tool does not look up usernames; call tweetapi_user_by_username first if you only have a username or profile link. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | ||
| mode | Yes | ||
| tool | Yes | ||
| notice | Yes | ||
| output | Yes | ||
| result | Yes | ||
| endpoint | Yes | ||
| usageDocs | No | ||
| pagination | No | Pagination exactly as TweetAPI returned it. | |
| statusCode | Yes | ||
| retrievedAt | Yes | When the MCP server received this response (ISO 8601). Not the post or profile date, and not a promise that X's data was fresh at that moment. | |
| completeness | Yes | ||
| resolvedInput | No | Identifiers the MCP server parsed from links or @handles before calling TweetAPI. |