finding-instagram-creators-by-location
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFinding Instagram Creators by Location
通过地点查找Instagram创作者
Identifies Instagram creators who actively post from a specific location — city, venue, or region. Creators with repeated location posts have genuine local presence and authentic ties to the place.
识别活跃发布特定地点(城市、场馆或区域)内容的Instagram创作者。频繁发布该地点内容的创作者拥有真实的本地存在感,与该地点有紧密的关联。
Prerequisites
前提条件
- environment variable set
APIFY_TOKEN - Optional: Apify MCP server installed
- 已设置环境变量
APIFY_TOKEN - 可选:已安装Apify MCP服务器
Inputs
输入参数
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| array | Optional | | Instagram location page URLs |
| array | Optional | | Instagram location IDs |
| number | Optional | Unlimited | Maximum posts to return |
| string | Optional | — | Date filter (YYYY-MM-DD) |
| string | Optional | — | JavaScript function to transform each output object |
| 参数 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| 数组 | 可选 | | Instagram地点页面URL |
| 数组 | 可选 | | Instagram地点ID |
| 数字 | 可选 | 无限制 | 返回的最大帖文数量 |
| 字符串 | 可选 | — | 日期筛选(格式:YYYY-MM-DD) |
| 字符串 | 可选 | — | 用于转换每个输出对象的JavaScript函数 |
Workflow
工作流程
Progress:
- [ ] Step 1: Resolve location ID
- [ ] Step 2: Run instagram-location-scraper
- [ ] Step 3: Identify repeat creators
- [ ] Step 4: Score creator quality
- [ ] Step 5: Deliver local creator list进度:
- [ ] 步骤1:解析地点ID
- [ ] 步骤2:运行instagram-location-scraper
- [ ] 步骤3:识别重复发布的创作者
- [ ] 步骤4:评估创作者质量
- [ ] 步骤5:交付本地创作者列表Step 1: Resolve Location ID
步骤1:解析地点ID
Instagram uses numeric location IDs. To find the ID:
- Search for the location on Instagram (mobile or desktop)
- Open the location page — URL format:
instagram.com/explore/locations/[LOCATION_ID]/[name]/ - Extract the numeric ID
If the user only provides a name, run a Google search:
site:instagram.com/explore/locations "[LOCATION_NAME]"Instagram使用数字地点ID。查找ID的方法:
- 在Instagram(移动端或桌面端)搜索该地点
- 打开地点页面——URL格式:
instagram.com/explore/locations/[LOCATION_ID]/[name]/ - 提取数字ID
如果用户仅提供地点名称,可运行Google搜索:
site:instagram.com/explore/locations "[LOCATION_NAME]"Step 2: Run the Actor
步骤2:运行Actor
Recommended — run_actor.js (handles waiting, output, and file saving automatically):
bash
undefined推荐方式——run_actor.js(自动处理等待、输出和文件保存):
bash
undefinedQuick answer (prints table to chat)
快速响应(在聊天中打印表格)
node scripts/run_actor.js
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
node scripts/run_actor.js
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
Save as CSV
保存为CSV格式
node scripts/run_actor.js
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
--output YYYY-MM-DD_results.csv --format csv
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
--output YYYY-MM-DD_results.csv --format csv
node scripts/run_actor.js
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
--output YYYY-MM-DD_results.csv --format csv
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
--output YYYY-MM-DD_results.csv --format csv
Save as JSON
保存为JSON格式
node scripts/run_actor.js
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
--output YYYY-MM-DD_results.json --format json
--actor "apidojo~instagram-location-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~instagram-location-scraper"
Input:
{
"locationIds": ["[LOCATION_ID]"],
"maxItems": 100
}
**REST API fallback:**
```bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-location-scraper/runs?token=$APIFY_TOKEN" -H "Content-Type: application/json" -d '{"locationIds": ["[LOCATION_ID]"], "maxItems": 100}'node scripts/run_actor.js
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
--output YYYY-MM-DD_results.json --format json
--actor "apidojo~instagram-location-scraper"
--input '{"param": "value"}'
--output YYYY-MM-DD_results.json --format json
> 需在环境变量或`.env`文件中设置`APIFY_TOKEN`。
**如果Apify MCP可用:**工具: apify:run-actor
Actor: "apidojo~instagram-location-scraper"
输入:
{
"locationIds": ["[LOCATION_ID]"],
"maxItems": 100
}
**REST API备选方案:**
```bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-location-scraper/runs?token=$APIFY_TOKEN" -H "Content-Type: application/json" -d '{"locationIds": ["[LOCATION_ID]"], "maxItems": 100}'Step 3: Score Creator Quality
步骤3:评估创作者质量
From location posts, group by . For each creator:
ownerUsernamelocal_score = min(post_count_at_location / 5, 1) * 0.30 # repeat presence
+ (avg_likes / 100) * 0.25 # engagement quality
+ (avg_comments / 10) * 0.20 # comment depth
+ (has_website ? 1 : 0) * 0.15 # professional creator signal
+ (follower_count > 1000 ? 1 : 0) * 0.10Clamp to [0, 1]. Tier: A ≥ 0.70 | B 0.40–0.69 | C < 0.40
从地点帖文中,按分组。针对每位创作者:
ownerUsernamelocal_score = min(post_count_at_location / 5, 1) * 0.30 # 重复发布频次
+ (avg_likes / 100) * 0.25 # 互动质量
+ (avg_comments / 10) * 0.20 # 评论深度
+ (has_website ? 1 : 0) * 0.15 # 专业创作者标识
+ (follower_count > 1000 ? 1 : 0) * 0.10分数范围限制在[0, 1]。等级划分:A ≥ 0.70 | B 0.40–0.69 | C < 0.40
Step 4: Edge Cases
步骤4:边缘情况处理
- Location ID not found for small venue: Try the city or neighborhood instead; scrape and filter by caption mentioning venue name
- Tourist accounts dominate results (one-time visitors): Filter by being lower priority than repeat posters
post_count_at_location = 1 - Business accounts posting from location: If , flag separately — these are brand accounts, not creator UGC
is_business_account = true - < 30 posts at location: Small or new venue — lower threshold to 500; include more results
min_followers
- 小型场馆无法找到地点ID:尝试使用城市或社区ID,爬取后通过提及场馆名称的帖文标题进行筛选
- 结果中游客账号占比过高(仅到访一次):将的账号优先级降低,重点关注重复发布的创作者
post_count_at_location = 1 - 商家账号发布该地点内容:如果,单独标记——这些是品牌账号,而非创作者用户生成内容(UGC)
is_business_account = true - 该地点帖文不足30条:场馆规模小或较新——将最低粉丝数阈值降至500,纳入更多结果
Output Format
输出格式
undefinedundefinedInstagram Local Creators: [LOCATION_NAME]
Instagram本地创作者: [LOCATION_NAME]
Posts scraped: [N] | Unique creators: [N] | Repeat locals (2+ posts): [N] | Date: [DATE]
爬取帖文数: [N] | 独特创作者数: [N] | 重复发布本地创作者(≥2条帖文): [N] | 日期: [DATE]
TIER A — Established Local Creators (2+ Location Posts)
A级——成熟本地创作者(≥2条地点帖文)
| Creator | @Handle | Location Posts | Avg Likes | Avg Comments | Content Theme | Score |
|---|---|---|---|---|---|---|
| [name] | @[handle] | [N] | [N] | [N] | [food/lifestyle/travel] | [0.XX] |
| 创作者 | @账号 | 地点帖文数 | 平均点赞数 | 平均评论数 | 内容主题 | 分数 |
|---|---|---|---|---|---|---|
| [姓名] | @[账号] | [N] | [N] | [N] | [美食/生活方式/旅行] | [0.XX] |
TIER B — Active Local Voices
B级——活跃本地发声者
| Creator | @Handle | Location Posts | Avg Likes | Last Post |
|---|
| 创作者 | @账号 | 地点帖文数 | 平均点赞数 | 最新帖文 |
|---|
Niche Breakdown at [LOCATION]
[LOCATION]的细分领域分布
| Content Theme | # Posts | Top Creator |
|---|---|---|
| [food] | [N] | @[handle] |
| [travel] | [N] | @[handle] |
undefined| 内容主题 | 帖文数 | 顶级创作者 |
|---|---|---|
| [美食] | [N] | @[账号] |
| [旅行] | [N] | @[账号] |
undefinedTroubleshooting
故障排除
Very few results for city: City-level location IDs return general "in [city]" tags. Look for neighborhood or landmark IDs for denser results.
Results are mostly tourist accounts: Focus on the tier — locals post from the same location repeatedly.
Wrong city matches location name: Some city names are duplicated globally. Verify the location page on Instagram before running.
post_count_at_location >= 3城市相关结果极少:城市级地点ID返回的是通用的“在[城市]”标签。尝试使用社区或地标ID以获取更精准的结果。
结果多为游客账号:重点关注的层级——本地用户会重复发布同一地点的内容。
地点名称匹配到错误城市:部分城市名称在全球范围内重复。运行爬虫前,请在Instagram上确认地点页面的正确性。
post_count_at_location >= 3