Back to Get X (Twitter) posts and profiles

X (Twitter) post comments by tweet id

TikHub

Twitter: fetch post comments (web)

Use this tool with your AI agent

  1. Copy the prompt
  2. Paste it into your agent
  3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use X (Twitter) post comments by tweet id (tool ID: tikhub.twitter-web-fetch-post-comments). Ask me for the details you need, then show me the result.

Already connected
Your agent can use that connection.
New user
Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

Current price
$0.0025/request
Availability
Ready to run

Tool details

About this tool

Twitter: fetch post comments (web) Retrieve one bounded result or page. Pagination is explicit; each follow-up page is another call. The catalog price is the maximum per request. Quotes use the selected limits. Completed requests cost their quote, including valid empty pages and no-match answers. Failed requests are uncharged. Read public social data without a connected social account. Results include reviewed business data and available pagination. The worked example shows selected fields from a recorded response, with at most one selected item from each list.

Inputs and outputs

Input

cursorstring · optional

Cursor

minLength: 1 · maxLength: 4096

tweet_idstring · required

Tweet ID

minLength: 1 · maxLength: 500

Output

dataobject

Returned data value.

Example request and output

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

Request

{
  "tool_id": "tikhub.twitter-web-fetch-post-comments",
  "input": {
    "tweet_id": "1835124037934367098"
  }
}

Output

{
  "data": {
    "id": "1835124037934367098",
    "text": "Congratulations Tesla cell team!",
    "views": "57916879",
    "author": {
      "name": "Elon Musk",
      "rest_id": "44196397",
      "screen_name": "elonmusk"
    },
    "quoted": {
      "text": "Produced our 100 millionth 4680 cell across all our factories! https://t.co/3P2dO35OWJ",
      "media": {
        "photo": [
          {
            "id": "1835019788181008385"
          }
        ]
      },
      "views": "59671219",
      "author": {
        "name": "Tesla",
        "rest_id": "13298072",
        "screen_name": "Tesla"
      },
      "quotes": 600,
      "replies": 861,
      "retweets": 2279,
      "tweet_id": "1835019793688048054",
      "bookmarks": 522,
      "favorites": 17923,
      "created_at": "Sat Sep 14 18:16:26 +0000 2024"
    },
    "quotes": 257,
    "status": "active",
    "thread": [
      {
        "id": "1835124568618680425",
        "text": "@elonmusk By buying Twitter, Elon saved freedom of speech.\n\nBy endorsing Trump, Elon is helping SAVE AMERICA!\n\nThank you, Elon, for giving us back free speech.\n\nX is better than Twitter EVER WAS!",
        "views": "30060",
        "author": {
          "name": "Bo Loudon",
          "rest_id": "862718426757779457",
          "screen_name": "BoLoudon"
        },
        "quotes": 2,
        "status": "active",
        "replies": 28,
        "entities": {
          "user_mentions": [
            {
              "name": "Elon Musk",
              "screen_name": "elonmusk"
            }
          ]
        },
        "retweets": 66,
        "bookmarks": 6,
        "created_at": "Sun Sep 15 01:12:46 +0000 2024",
        "display_text": "By buying Twitter, Elon saved freedom of speech.\n\nBy endorsing Trump, Elon is helping SAVE AMERICA!\n\nThank you, Elon, for giving us back free speech.\n\nX is better than Twitter EVER WAS!"
      }
    ],
    "replies": 3489,
    "retweets": 7456,
    "bookmarks": 1613,
    "created_at": "Sun Sep 15 01:10:40 +0000 2024",
    "display_text": "Congratulations Tesla cell team!"
  }
}
Errors and limitations
  • invalid_input: The lookup fields or limits are invalid.example: {"tweet_id":"1835124037934367098"}
  • upstream_error: The provider could not complete a verified result; the wallet was not charged.Check the documented fields and contact Scrollport support with the run ID if needed.