apidojo-io/apidojo-skills

scraping-instagram-comments

Extracts comments from Instagram posts using apidojo's Instagram Comments Scraper on Apify.

Ver código fuente

Cómo usar

  1. Copia el comando y revisa el paquete antes de instalarlo en tu entorno de agente.
  2. Consulta las herramientas, credenciales y entornos necesarios en el documento original.
  3. Describe las entradas y el resultado deseado; contrasta la salida con las fuentes.
npx skills add https://github.com/apidojo-io/apidojo-skills --skill scraping-instagram-comments

Antes de empezar

  • La instalación no incluye suscripción al modelo, cuota API ni permisos sobre tus archivos.
  • Las estrellas e instalaciones reflejan actividad, no una prueba independiente de calidad o seguridad.
Documento original del Skill

Contenido del repositorio de origen con títulos, ejemplos, código, tablas, enlaces e imágenes preservados.

Scraping Instagram Comments

Raw data collection. No assumed use case — returns the full dataset for downstream analysis.


Inputs

ParameterTypeRequiredDefaultNotes
startUrlsarrayOptional[]Instagram post URLs
postIdsarrayOptional[]Instagram post IDs
maxItemsnumberOptionalUnlimitedMaximum comments to return
customMapFunctionstringOptional—JavaScript function to transform each output object

How to Run

Using run_actor.js (recommended)

bash
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~instagram-comments-scraper" --input '{"startUrls": ["https://www.instagram.com/p/POSTCODE/"], "maxItems": 100}'

# Save as CSV
node scripts/run_actor.js --actor "apidojo~instagram-comments-scraper" --input '{"startUrls": ["https://www.instagram.com/p/POSTCODE/"], "maxItems": 100}' --output results.csv --format csv

# Save as JSON
node scripts/run_actor.js --actor "apidojo~instagram-comments-scraper" --input '{"startUrls": ["https://www.instagram.com/p/POSTCODE/"], "maxItems": 100}' --output results.json --format json

REST API fallback

bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-comments-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.instagram.com/p/POSTCODE/"], "maxItems": 100}'

If Apify MCP is available: Use the Apify MCP call_actor tool with actor apidojo~instagram-comments-scraper and the input above.


Output Fields

FieldTypeDescription
postIdstringParent post ID
typestringAlways comment
idstringComment ID
userIdstringCommenter user ID
messagestringComment text
createdAtstringComment timestamp (ISO 8601)
likeCountnumberLikes on comment
replyCountnumberNumber of replies
user.idstringCommenter ID
user.usernamestringCommenter @username
user.fullNamestringCommenter full name
user.profilePicUrlstringCommenter profile picture
isRankedbooleanWhether comment is ranked/top

Edge Cases

  • Private post: Returns 0 results. Tell user the post or account is private.
  • Deleted post: Returns error. Verify URL is correct.
  • Few comments: Normal — post may genuinely have low engagement.
  • Missing fields: Some users may not have fullName or isVerified; handle gracefully.
  • Rate limit: Reduce maxItems or run at off-peak time.

Relacionados por tarea

del mismo repositorio

Más Skills

Todos los Skills
apidojo-io
Comunidad

finding-industry-event-coverage-google

Finds industry event and conference coverage on Google using apidojo's Google Search scraper. Triggers when the user asks to: find coverage of an industry conference or event on Google, track press coverage of a trade show or summit, research what was announced at a conference, find news and recaps of an industry event, discover what happened at a recent trade show, find speaker quotes or session summaries from a conference, or compile event coverage for competitive intelligence. Returns article

Instalaciones / 1h
1
GitHub Stars
1
Actualizado
13 may
apidojo-io
Comunidad

finding-tiktok-shop-trending-products

Finds trending products on TikTok Shop using apidojo's TikTok scraper on Apify. Triggers when the user asks to: find trending TikTok Shop products, discover what products are selling on TikTok Shop right now, identify viral TikTok Shop items in a category, find trending items with TikTok affiliate links, research TikTok Shop bestsellers, discover products going viral on TikTok for e-commerce, find hot items being promoted by TikTok creators, or build a trending product list from TikTok Shop data

Instalaciones / 1h
1
GitHub Stars
1
Actualizado
13 may
apidojo-io
Comunidad

finding-tiktok-ugc-creators-for-brands

Finds TikTok UGC creators for brand campaigns using apidojo's TikTok scrapers on Apify. Triggers when the user asks to: find TikTok creators for user-generated content, discover UGC creators in a product category on TikTok, find micro-creators who post organic product reviews on TikTok, identify TikTok creators for paid UGC campaigns, find authentic content creators in beauty food tech or fitness on TikTok, or build a UGC creator roster for a brand. Returns creator handle, follower count, avg vi

Instalaciones / 1h
2
GitHub Stars
1
Actualizado
13 may
apidojo-io
Comunidad

finding-twitter-spaces-hosts-by-topic

Finds Twitter Spaces hosts in a specific topic area using apidojo's Twitter scrapers. Triggers when the user asks to: find Twitter Spaces hosts in a niche, discover people who run Twitter Spaces about a topic, find Spaces hosts to collaborate with or get featured on, identify active Twitter Spaces communities in an industry, find hosts running regular business or tech Spaces on Twitter, build a Twitter Spaces outreach list for thought leadership, or discover Twitter audio show hosts in a profess

Instalaciones / 1h
2
GitHub Stars
1
Actualizado
13 may