mcpField
F
finding-restaurant-brands-on-instagram

finding-restaurant-brands-on-instagram

github.com/apidojo-io营销与增长1756 次安装24 周前更新
代码仓库

关于 finding-restaurant-brands-on-instagram

此技能从 Instagram 个人主页、标签、地点、音频页面或 Reels 收集帖子,以寻找餐饮品牌潜在客户。它支持运行 Apify Actor,并依据互动、粉丝数和简介中的商业信息为账号评分。

主要功能

  1. 01从 Instagram URL 抓取帖子
  2. 02按日期或条目数限制结果
  3. 03使用自定义 JavaScript 函数转换输出
  4. 04为账号评分并划分潜客等级
  5. 05将结果导出为 CSV 或 JSON

适用场景

  1. 01通过细分标签寻找餐饮品牌
  2. 02按互动和商业信息筛选候选账号
  3. 03保存潜客调研结果以便跟进

MCP 相关

Apify MCP 可用时,可使用其 call_actor 工具运行 apidojo~instagram-scraper Actor。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/apidojo-io/apidojo-skills --skill finding-restaurant-brands-on-instagram

安装后在 Claude Code 中输入/finding-restaurant-brands-on-instagram确认已加载。

详细介绍

在 Instagram 上寻找餐饮品牌


输入

参数类型必填默认值说明
startUrlsarray✅[]Instagram URL — 个人主页、话题标签、地点、音频页面、Reels
untilstring可选—抓取帖子,直到此日期(YYYY-MM-DD)
maxItemsnumber可选不限返回的帖子数量上限
customMapFunctionstring可选—用于转换每个输出对象的 JavaScript 函数

运行方法

使用 run_actor.js(推荐)
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}'

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

# Save as JSON
node scripts/run_actor.js --actor "apidojo~instagram-scraper" --input '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}' --output results.json --format json
REST API 备用方案
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.instagram.com/explore/tags/restaurantowner/"], "maxItems": 100}'

如果可以使用 Apify MCP: 使用 Apify MCP 的 call_actor 工具,指定 actor apidojo~instagram-scraper 和上述输入。


评分与排名

为每个账号评分:

  • engagement_rate = (likeCount + commentCount) / followerCount → 权重 0.4
  • followerCount → 归一化到 0-1,权重 0.3
  • has_business_bio(简介包含电话/网站/地址关键词)→ 权重 0.3
score = 0.4 * min(engagement_rate / 0.05, 1.0) + 0.3 * min(followerCount / 50000, 1.0) + 0.3 * int(has_business_bio)

分类

分数等级标签
≥ 0.70APRIME_PROSPECT
0.40–0.69BWARM_LEAD
< 0.40CLOW_PRIORITY

边缘情况

  • 话题标签范围过广:#food 会返回数百万条来自消费者而非企业的帖子。请使用 #restaurantowner 或 #foodbiz 等细分标签。
  • 简介中没有企业信息:筛选简介中包含网站链接或电话号码的账号。
  • 混入消费者账号:筛选 followerCount > 500 且 postCount > 20 的账号。
  • 私人账号:没有帖子数据 — 跳过。
  • 重复账号:同一品牌可能使用多个话题标签发布内容 — 按用户名去重。

评论

支持 Markdown