Apify FB Group Scraper — Setup Guide (Diamond 09-08)

Hướng đã chốt: KHÔNG tự code — dùng actor có sẵn api-empire/facebook-groups-scraper (Apify). Nhu cầu: bài nhiều tương tác 60 ngày từ hội nhóm FB (xây/sửa nhà HN) → chủ đề cho auto-blog + đối chiếu web.

Trạng thái

Bước 1 — Diamond: Token Apify (1 lần, ~2 phút)

  1. Mở https://console.apify.com → Sign up (free, 5$/tháng credit tặng — đủ chạy thử)
  2. Settings → Integrations → API token → copy
  3. Gửi token cho agent (hoặc lưu ~/.apify/token.txt), agent chạy:
    apify login --token <TOKEN>
    

Bước 2 — Diamond (chỉ khi group KÍN, không bắt buộc)

Chạy (agent, khi có token — KHÔNG tự viết code, chỉ gọi actor)

# gọi actor qua API (MCP/HTTP có sẵn) — ví dụ input:
#   startUrls: [nhóm FB], postsNewerThan: "60 days",
#   feedSortStrategy: TOP_POSTS, sortBy: highest_engagement, minReactions: 30

Actor trả JSON: post text, 7 loại reaction, comments, shares, engagement rank/percentile → export JSON/CSV → feed pipeline auto-blog (write_blog.py đã sẵn, đọc topics/).

Nguồn thật

Ràng buộc

Chat Zalo