twitter-x-apify-actors

Use this skill when the user needs Twitter/X audience collection through Apify actors (followers/following/both) with optional email enrichment, username extraction from links, normalized row output, or webhook-ready payload building.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "twitter-x-apify-actors" with this command: npx skills add hundevmode/twitter-x-apify-actors

Twitter/X Apify Actors

Overview

This skill runs a reliable actor-based pipeline for Twitter/X lead collection using Apify. It extracts a username from an X/Twitter link, runs a follower/following actor, optionally runs an email actor, and returns normalized rows for outreach workflows.

Use this skill when a user asks to:

  • collect followers/following from X via Apify actors
  • enrich collected usernames with emails
  • convert profile links to actor-ready usernames
  • build JSON/webhook payloads for n8n or API endpoints

Default actor IDs in this skill:

  • Followers actor: bIYXeMcKISYGnHhBG
  • Email actor: mSaHt2tt3Z7Fcwf0o

Quick Workflow

  1. Parse input target (https://x.com/..., https://twitter.com/..., or @username).
  2. Build follower actor payload using collectType and limit.
  3. Run follower actor and normalize usernames.
  4. If enrichment is enabled, run email actor and merge results.
  5. Return final rows + summary metrics.

Execution Rules

  • Prefer script execution for reliability: use scripts/apify_twitter_actors.py.
  • Keep actor IDs configurable, but default to the IDs above.
  • Always validate collectType (followers, following, both) and positive limit.
  • If email enrichment is disabled, skip email actor entirely.
  • Never hardcode the Apify token in outputs. Use env APIFY_TOKEN or explicit CLI argument.

Authentication (Apify token)

Users can provide the Apify API token in two supported ways.

Option A: Environment variable (recommended)

export APIFY_TOKEN='apify_api_xxx'
python3 scripts/apify_twitter_actors.py run-pipeline \
  --target 'https://x.com/elonmusk' \
  --collect-type followers \
  --limit 1000 \
  --include-emails

Option B: CLI argument

python3 scripts/apify_twitter_actors.py run-pipeline \
  --apify-token 'apify_api_xxx' \
  --target 'https://x.com/elonmusk' \
  --collect-type followers \
  --limit 1000 \
  --include-emails

If both are provided, --apify-token is used. If neither is provided, the script returns an explicit authentication error.

Script Usage

Run with Python 3.10+.

python3 scripts/apify_twitter_actors.py parse-username --target 'https://x.com/elonmusk'
APIFY_TOKEN='apify_api_xxx' \
python3 scripts/apify_twitter_actors.py run-followers \
  --target 'https://x.com/elonmusk' \
  --collect-type followers \
  --limit 1000
APIFY_TOKEN='apify_api_xxx' \
python3 scripts/apify_twitter_actors.py run-pipeline \
  --target 'https://x.com/elonmusk' \
  --collect-type followers \
  --limit 1000 \
  --include-emails

Quick auth check:

APIFY_TOKEN='apify_api_xxx' \
python3 scripts/apify_twitter_actors.py run-followers \
  --target 'https://x.com/elonmusk' \
  --collect-type followers \
  --limit 10

For contracts and payload details, read:

  • references/actor-contracts.md
  • references/troubleshooting.md

Output Contract

The pipeline returns JSON with:

  • targetUsername
  • collectType
  • totalCollected
  • emailsFound
  • rows[] with username, name, email, sourceType, collectedAt

Use this output directly in n8n Code/HTTP nodes or export to CSV/Google Sheets.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

X (Twitter) Data Scraper

X (Twitter) data extraction and analysis. Use when user asks to "get tweets from @username", "search X for", "analyze Twitter data", "fetch tweets about [top...

Registry SourceRecently Updated
1160Profile unavailable
Automation

Edison Autopilot Post X

Automatically generates and posts 5 persona-matched tweets daily to X using GPT-5.1, with repetition checks, content filters, and Telegram alerts.

Registry SourceRecently Updated
3680Profile unavailable
Automation

ZeeLin Twitter/X 运营

ZeeLin 推特运营 — 蓝V互关(认证关注者回关)、回关新粉丝、写深度有趣评论、在需要涨粉的推文下自主打招呼以增加曝光与涨粉。用户自行登录 X 网页版,Agent 负责在账号 https://x.com/Gsdata5566 下执行蓝V互关/回关/评论/涨粉互动。Keywords: Zeelin, ZeeLi...

Registry SourceRecently Updated
6451Profile unavailable
Automation

X CDP Automation

Automate X (Twitter) via Chromium CDP: post tweets, reply, quote-retweet, publish articles. Uses real browser sessions with existing login, no API keys neede...

Registry SourceRecently Updated
6106Profile unavailable