mcpField
B
building-full-social-audit-for-brand

building-full-social-audit-for-brand

github.com/apidojo-ioMarketing & growth1840 installsUpdated 24w ago
Repository

About building-full-social-audit-for-brand

A marketing skill for building brand social audits from Twitter data scraped with Apify. It guides collection, classification, and weighted scoring for marketing analysis.

Key features

  1. 01Scrape Twitter profiles and tweets
  2. 02Collect followers, following, and retweeters
  3. 03Classify and score audit results
  4. 04Export results through a runner or API

Use cases

  1. 01Assess a brand’s Twitter presence
  2. 02Review audience and retweeter lists
  3. 03Rank collected results by relevance

MCP support

Optionally uses the Apify MCP server to run the twitter-user-scraper actor.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/apidojo-io/apidojo-skills --skill building-full-social-audit-for-brand

After installing, type/building-full-social-audit-for-brandin Claude Code to confirm it loaded.

Details

From the project README

Building Full Social Audit For Brand

Executes building full social audit for brand using apidojo scrapers. Part of the apidojo intelligence skills library.

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 parameters
- [ ] Step 2: Run twitter-user-scraper
- [ ] Step 3: Filter and classify results
- [ ] Step 4: Score by quality and relevance
- [ ] Step 5: Deliver output
Step 2: Run the Actor

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

# 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~twitter-user-scraper"
Input:
{
  "searchTerms": "@[BRAND_HANDLE]" (run per platform),
  "maxItems": 100
}

REST API fallback:

curl -X POST \
  "https://api.apify.com/v2/acts/apidojo~twitter-user-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchTerms": "@[BRAND_HANDLE]" (run per platform), "maxItems": 100}'

Wait for SUCCEEDED. Fetch dataset:

curl "https://api.apify.com/v2/actor-runs/$RUN_ID/dataset/items?token=$APIFY_TOKEN"
Step 3: Classify Results
classification: STRONG (score > 4%) | AVERAGE (2-4%) | WEAK (1-2%) | MINIMAL (< 1%)
Step 4: Score Each Result
score = brand_social_score = avg(platform_engagement_rate * platform_weight) where weights: Twitter=0.20, Instagram=0.30, TikTok=0.30, YouTube=0.20
Step 5: Edge Cases
  • Brand may not be on all platforms — note absent platforms as strategic gaps; adjust weighted score to sum of present platforms only

Additional fallbacks:

  • < 20 results: Broaden search terms; remove secondary filters
  • No results: Verify the search terms are correct; try alternate phrasings
  • Data quality issues: Remove entries with missing key fields; note count in output

Output Format

# Building Full Social Audit For Brand
Results: [N] | Date: [DATE]

| # | [Key Field] | [Metric 1] | [Metric 2] | [Classification] | [Score] |
|---|------------|-----------|-----------|-----------------|---------|
| 1 | [value] | [value] | [value] | [type] | [0.XX] |

## Summary
Top result: [description]
Key finding: [insight]

Troubleshooting

Too few results: Broaden the primary search term; remove restrictive filters. Low quality results: Apply minimum score threshold (≥ 0.50) to filter noise. Actor fails to run: Verify API key; check actor status at apify.com/apidojo.

Comments

Markdown supported