apidojo-io/apidojo-skills

tracking-twitter-thought-leaders

Identifies and tracks thought leaders and key voices in any industry on Twitter/X using apidojo's scrapers.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/apidojo-io/apidojo-skills --skill tracking-twitter-thought-leaders

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

Tracking Twitter Thought Leaders

Finds Twitter/X accounts with genuine influence in a topic area — not just high follower counts, but accounts whose tweets get shared and discussed. Delivers a ranked list for PR outreach, community engagement, or partnership targeting.

Prerequisites

  • APIFY_TOKEN environment variable set
  • Optional: Apify MCP server installed

Inputs

ParameterTypeRequiredDefaultNotes
startUrlsarrayOptional[]Twitter profile or tweet URLs
twitterHandlesarrayOptional[]Twitter usernames (without @)
twitterUserIdsarrayOptional[]Twitter user IDs
getFollowersbooleanOptionalfalseExtract follower lists
getFollowingbooleanOptionalfalseExtract following lists
getRetweetersbooleanOptionalfalseExtract retweeters of a tweet URL
includeUnavailableUsersbooleanOptionalfalseInclude unavailable/suspended users
maxItemsnumberOptionalUnlimitedMaximum users to return
customMapFunctionstringOptional—JavaScript function to transform each output object

Workflow

Progress:
- [ ] Step 1: Define topic, industry, and influence criteria
- [ ] Step 2: Search for topic-relevant tweets to find active voices
- [ ] Step 3: Enrich top accounts with profile data
- [ ] Step 4: Score by influence signals
- [ ] Step 5: Deliver ranked thought leader list

Step 1: Clarify Parameters

Ask the user for:

  • Topic or industry (e.g., "AI safety", "B2B SaaS growth", "climate tech")
  • Influence type — broad reach (high followers), community depth (high engagement), or rising voices (growing fast)
  • Follower range (default: 5,000–2,000,000 — excludes unknown accounts and mega-celebrities)
  • Geography/language (optional)
  • List size (default: 25)

Step 2: Search for Topic Tweets

Find who's actively tweeting about the topic — recent activity matters more than old follower counts.

Recommended — run_actor.js (handles waiting, output, and file saving automatically):

bash
# Quick answer (prints table to chat)
node scripts/run_actor.js \
  --actor "apidojo~twitter-user-scraper" \
  --input '{"param": "value"}'

# Save as CSV
node scripts/run_actor.js \
  --actor "apidojo~twitter-user-scraper" \
  --input '{"param": "value"}' \
  --output YYYY-MM-DD_results.csv --format csv

# Save as JSON
node scripts/run_actor.js \
  --actor "apidojo~twitter-user-scraper" \
  --input '{"param": "value"}' \
  --output YYYY-MM-DD_results.json --format json
APIFY_TOKEN must be set in environment or .env file.

If Apify MCP is available:

Tool: apify:run-actor
Actor: "apidojo~tweet-scraper"
Input:
{
  "searchTerms": ["[TOPIC_KEYWORD_1]", "[TOPIC_KEYWORD_2]", "[TOPIC_KEYWORD_3]"],
  "maxItems": 300,
  "tweetLanguage": "en"
}

REST API fallback:

bash
curl -X POST \
  "https://api.apify.com/v2/acts/apidojo~tweet-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "searchTerms": ["[TOPIC_KEYWORD_1]", "[TOPIC_KEYWORD_2]"],
    "maxItems": 300
  }'

Extract unique author.username values from all results. Sort by their tweet's retweet+like count — accounts whose topic tweets get the most engagement are the most influential voices.

Step 3: Enrich with Profile Data

Take top 100 candidate usernames. Fetch full profiles.

If Apify MCP is available:

Tool: apify:run-actor
Actor: "apidojo~twitter-user-scraper"
Input:
{
  "usernames": ["[username1]", "[username2]", "...up to 100"]
}

REST API fallback:

bash
curl -X POST \
  "https://api.apify.com/v2/acts/apidojo~twitter-user-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"usernames": ["[username1]", "[username2]"]}'

Step 4: Score by Influence

Calculate composite influence score for each account:

topic_engagement = avg(likes + retweets) on topic-related tweets
audience_quality = followers / following ratio (>1 is healthy)
influence_score = topic_engagement * log(followers) * audience_quality

Filter: keep only accounts within follower range AND whose bio suggests topical relevance.

Step 5: Format Output

Output Format

# Twitter Thought Leaders: [TOPIC/INDUSTRY]
Accounts analyzed: [N] | Final list: [N] | Date: [DATE]

## Top Thought Leaders

| # | Name | @Handle | Followers | Influence Score | Bio Excerpt | Recent Top Tweet |
|---|------|---------|-----------|-----------------|-------------|------------------|
| 1 | [name] | @[handle] | [N] | [score] | [bio] | "[tweet excerpt]" |

## Tier Breakdown

### 🏆 Power Voices (500K+ followers)
[list with brief bio and latest relevant tweet]

### 🎯 Core Influencers (50K–500K followers)
[list — best for outreach: big enough to matter, accessible enough to respond]

### 🌱 Rising Voices (5K–50K followers)
[list — early partnership opportunity, lower cost, high engagement]

## Best Accounts for Direct Outreach
[Top 5 picks with rationale — why they're ideal for PR, partnership, or co-content]

## Content Themes These Voices Tweet About
- [Theme 1]: [N] of the accounts tweet regularly about this
- [Theme 2]: [N] accounts

Troubleshooting

Results dominated by one person: Some topics have one mega-voice. Exclude them and surface the next tier. Not enough topically relevant accounts: Expand keyword list with synonyms, adjacent topic terms, and industry jargon. Follower counts seem off: Cached data — for final list, spot-check top 5 accounts directly on Twitter.

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills
apidojo-io
Community

discovering-tiktok-creators-by-niche

Discovers and ranks TikTok creators in any niche or topic using apidojo's TikTok scrapers on Apify. Triggers when the user asks to: find TikTok influencers in a specific niche, discover creators for a campaign, identify who's growing fastest on TikTok in a category, find micro-influencers on TikTok under a certain follower count, build a list of TikTok creators for brand partnerships, compare TikTok creator engagement rates in a vertical, or identify rising TikTok stars. Returns creator username

Installationen / 1h
2
GitHub Stars
1
Aktualisiert
13. Mai
apidojo-io
Community

finding-gaming-content-creators

Finds gaming content creators on TikTok and YouTube using apidojo's scrapers on Apify. Triggers when the user asks to: find gaming influencers for brand campaigns, discover streamers or gaming YouTubers in a specific game or genre, find TikTok creators posting gaming content, identify gaming micro-influencers for product sponsorships, find gaming creators who review hardware or accessories, build a gaming creator outreach list for a gaming brand or peripheral company, or discover rising gaming c

Installationen / 1h
2
GitHub Stars
1
Aktualisiert
13. Mai
apidojo-io
Community

scraping-instagram-posts-by-hashtag

Scrapes Instagram posts for any hashtag using apidojo's Instagram scraper on Apify. Triggers when the user asks to: get Instagram posts for a hashtag, scrape Instagram content by tag, export Instagram post data for a keyword or topic, fetch posts under an Instagram challenge or trend, collect Instagram media for a specific tag, or download Instagram post metadata by hashtag. Returns post URL, caption, like count, comment count, author handle, and timestamp per post. Ideal for trend analysts, UGC

Installationen / 1h
2
GitHub Stars
1
Aktualisiert
13. Mai
apidojo-io
Community

scraping-tiktok-profile-data

Scrapes TikTok profile statistics and metadata for any list of accounts using apidojo's TikTok Profile scraper on Apify. Triggers when the user asks to: get TikTok profile stats for an account, fetch follower count and engagement data for TikTok users, scrape TikTok account metadata in bulk, export TikTok profile information for a list of creators, check TikTok stats for multiple usernames, or get bio and follower data from TikTok profiles. Returns username, follower count, following count, tota

Installationen / 1h
1
GitHub Stars
1
Aktualisiert
13. Mai