How to Use X (Twitter) account media in Muse Code
Returns media from a public X account. Use it to review a brand's published media without working through its broader post timeline.
Prompts to try with X (Twitter) account media in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use X (Twitter) account media for NASA, account ID 11348282, and add a view of the returned media records to this project's research dashboard.
Use X (Twitter) account media to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from X (Twitter) account media and tell me what changed since last week.
Check X (Twitter) account media and summarize what you find in three bullet points.
Pull the newest data from X (Twitter) account media and give me the result as a table.
How to set up X (Twitter) account media in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run X (Twitter) account media
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-media", "input": { "screen_name": "elonmusk" } }'
Then paste one of the prompts above: Muse Code finds X (Twitter) account media on Spiral, shows the price and runs it.
X (Twitter) account media providers and prices
Spiral runs X (Twitter) account media through TikHub. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Rest ID | a whole number | User ID |
Every API field of X (Twitter) Web · Get user media is on its tool page: open its card above.
What can you do with X (Twitter) account media in Muse Code?
Build an internal X research panel for public organizations such as NASA and SpaceX. A coding agent can turn returned profile, post, reply, or media records into views that fit your project's existing data structures.
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.
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.
More on X (Twitter) account media and Muse Code
Overview
X (Twitter) account media in other agents
Questions about X (Twitter) account media in Muse Code
Can Muse Code use X (Twitter) account media?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run X (Twitter) account media like any built-in tool.
How much does X (Twitter) account media cost in Muse Code?
$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.
Do I need a TikHub account to use X (Twitter) account media in Muse Code?
No. Spiral runs X (Twitter) account media 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 media in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while X (Twitter) account media runs?
X (Twitter) account media runs in the background. Muse Code 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.
Start using X (Twitter) account media in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


