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. 01Instagramの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 — プロフィール、ハッシュタグ、位置情報、音声ページ、リール
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で絞り込みます。
  • 非公開アカウント:投稿データがないため、スキップします。
  • アカウントの重複:同じブランドが複数のハッシュタグで投稿することがあります。ユーザー名で重複を除外します。

コメント