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

Muse Code · Social Media

How to Use X community tweets in Muse Code

Fetch posts from an X Community with text, timestamps, views, likes, replies, reposts, bookmarks, and quote counts. Use it to compare discussions and engagement within a community.

Prompts to try with X community tweets in Muse Code

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

Use X community tweets for https://x.com/i/communities/1926186499399139650 and add a table to this project showing returned post text, publication time, likes, replies, and bookmarks.

X community tweetsMuse Code
Try asking
  • Fetch X community tweets for https://x.com/i/communities/1926186499399139650 and create a CSV export of post IDs, text, timestamps, and all six engagement counts.

  • Use X community tweets for https://x.com/i/communities/1926186499399139650 to build a report of posts mentioning OpenAI, ChatGPT, or Claude. Show the matching text and reply counts.

  • Use X community tweets for https://x.com/i/communities/1926186499399139650 and add separate rankings by bookmarks, replies, and reposts to the project's report.

  • Fetch X community tweets for https://x.com/i/communities/1926186499399139650 and compare the results with the project's previous saved response by post ID. Report newly observed posts and engagement changes.

How to set up X community tweets in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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 community tweets

    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": "scrapecreators",
        "model": "scrapecreators/twitter-community-tweets",
        "input": {
          "url": "https://x.com/i/communities/1926186499399139650"
        }
      }'

Then paste one of the prompts above: Muse Code finds X community tweets on Spiral, shows the price and runs it.

X community tweets providers and prices

Spiral runs X community tweets through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
X (Twitter) · Community Tweets
scrapecreators/twitter-community-tweets

What can you do with X community tweets in Muse Code?

Build a community discussion report from X post text, timestamps, and engagement counts. Coding agents can add topic filters, sortable tables, and comparisons between saved responses to your project.

Community discussion briefs

Summarize topics in the returned posts, with post IDs and publication times supporting each finding.

Content research

Compare the wording and subjects of posts with the most bookmarks, likes, or reposts to develop editorial ideas.

Product feedback review

Find mentions of a public product in returned community posts and separate feature requests, complaints, and praise.

Engagement comparisons

Rank returned posts separately by replies, bookmarks, and reposts to distinguish discussion from saving and sharing.

Repeated discussion checks

Compare successive responses by post ID to identify newly observed posts and changes in engagement on posts present in both.

Brand mention briefs

Collect returned posts mentioning a public business, then summarize the claims and accompanying engagement counts for review.

Questions about X community tweets in Muse Code

Can Muse Code use X community tweets?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run X community tweets like any built-in tool.

How much does X community tweets cost in Muse Code?

Up to $0.0013 per run. 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 ScrapeCreators account to use X community tweets in Muse Code?

No. Spiral runs X community tweets on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up X community tweets 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 community tweets runs?

X community tweets runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

Are X Community posts private?

X says Community posts are shared with followers and other X users outside the Community. Community discussions should not be treated as private conversations.

How fresh are the returned posts and counts?

ScrapeCreators says it fetches the latest available Community Tweets information when you make a request. That describes retrieval freshness, rather than a guarantee that every newly published post will appear.

Which engagement measurements come back?

The documented response includes seven counts: views, likes, reposts, replies, bookmarks, and quotes, plus the post's publication timestamp. There are six engagement counts; the timestamp identifies when the post was published.

Does ScrapeCreators guarantee accurate X data?

No. Its terms explicitly decline guarantees of both data availability and accuracy, including for the engagement counts returned with posts.

Can the returned data be used commercially?

ScrapeCreators permits commercial use, resale, redistribution, repackaging, and white-labeling of API output. Those permissions describe ScrapeCreators' own terms.

Get started

Start using X community tweets 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 Muse Code

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