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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/hundevmode/twitter-x-apify-actorsTwitter/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
- Parse input target (
https://x.com/...,https://twitter.com/..., or@username). - Build follower actor payload using
collectTypeandlimit. - Run follower actor and normalize usernames.
- If enrichment is enabled, run email actor and merge results.
- 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_TOKENor 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.mdreferences/troubleshooting.md
Output Contract
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-hundevmode-twitter-x-apify-actors": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
Linkedin Email Phone Apify
Skill by hundevmode
boosta-long-to-shorts
Create, monitor, and troubleshoot Boosta API video-processing jobs from natural-language requests. Use this skill when a user asks to generate clips from a video URL via Boosta, check job status, fetch completed clip URLs, inspect usage/credits, choose the correct video_type, or handle Boosta API errors and retry logic.
dievio-lead-search-api
Run Dievio lead search and LinkedIn lookup workflows through the public API with correct authentication, filters, pagination, and credit-aware handling. Use this skill when users need to find B2B leads, enrich LinkedIn URLs with emails/phones, apply Dievio filter fields, or iterate across paginated API results safely.
apollo-like-leads-apify
Use this skill when the user needs B2B lead collection via Apify actor LurATYM4hkEo78GVj (Apollo-like), including filter-based payload building, validated run execution, and JSON/CSV-ready lead output for outreach workflows.