Spiral gives your agent every tool with one account. Browse the tools →

Gemini · Social Media

How to Use X (Twitter) account posts in Gemini

Returns posts from a public X account, with cursor pagination for further results. Use it to review announcements and publishing themes across the account's timeline.

Prompts to try with X (Twitter) account posts in Gemini

Copy an example into Gemini, or ask in your own words.

Use X (Twitter) account posts for @SpaceX and summarize the announcements in the returned posts.

X (Twitter) account postsGemini
Try asking
  • Use X (Twitter) account posts to look this up and give me the result as a table.

  • Pull the latest numbers from X (Twitter) account posts and tell me what changed since last week.

  • Check X (Twitter) account posts and summarize what you find in three bullet points.

  • Pull the newest data from X (Twitter) account posts and give me the result as a table.

How to set up X (Twitter) account posts in Gemini

Pick the way that suits you. Each takes about two minutes.

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run X (Twitter) account posts

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "tikhub",
        "model": "tikhub/twitter-web-fetch-user-post-tweet",
        "input": {
          "cursor": "<cursor>"
        }
      }'

Then paste one of the prompts above: Gemini finds X (Twitter) account posts on Spiral, shows the price and runs it.

X (Twitter) account posts providers and prices

Spiral runs X (Twitter) account posts through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
X (Twitter) Web · Get user post
tikhub/twitter-web-fetch-user-post-tweet

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Rest IDa whole number

User ID

Every API field of X (Twitter) Web · Get user post is on its tool page: open its card above.

What can you do with X (Twitter) account posts in Gemini?

Prepare an X briefing on a public organization before a meeting or editorial assignment. A chat agent can summarize returned account records and explain what they contribute to the brief.

Competitive communications review

Compare public company profiles, published posts, media, and account replies to see how competitors introduce themselves, announce products, and answer questions.

Product launch briefing

Prepare an internal launch brief from a company's profile, announcements, media, and follow-up replies. Use batch profiles when several participating organizations need context.

Public organization research

Build an editorial research packet for organizations such as NASA and SpaceX. Combine profile context with published posts, media, and replies that deserve further reporting.

Brand communications audit

Review whether an organization's public profile, posts, media, and replies tell a consistent story. Refresh several organization profiles together when auditing a company portfolio.

Announcement digest

Summarize posts from selected public business accounts into an internal digest, with returned media listed alongside relevant announcements.

Public support response review

Review a brand's account replies for recurring explanations and questions. Use its published posts to understand which announcements prompted follow-up discussion.

Campaign media inventory

List media returned for a public brand account and review its posts for campaign context before choosing material for an internal creative review.

Questions about X (Twitter) account posts in Gemini

Can Gemini use X (Twitter) account posts?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run X (Twitter) account posts like any built-in tool.

How much does X (Twitter) account posts cost in Gemini?

$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.

Do I need a TikHub account to use X (Twitter) account posts in Gemini?

No. Spiral runs X (Twitter) account posts on its own TikHub account. You sign in to Spiral once and never paste a key.

How long does it take to set up X (Twitter) account posts in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while X (Twitter) account posts runs?

X (Twitter) account posts runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

Does this include protected X content?

No. TikHub's stated coverage excludes private, restricted, and password-protected content, so protected account material falls outside that boundary.

Are repeated requests served from a cache?

TikHub says every API request retrieves fresh, real-time data, even when the request is repeated.

Get started

Start using X (Twitter) account posts in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options