Chuyển đến nội dung
Skillpedia
Mạng xã hội6.3k · #14305

facebook-page-profile-posts

Skill này làm gì

Skill đọc dòng thời gian của một Trang Facebook công khai hoặc trang cá nhân và trả về chi tiết đầy đủ của từng bài đăng. Skill dành cho người làm marketing và nhà phân tích cần dữ liệu bài đăng và tương tác chi tiết.

Khi nào nên dùng

  • ✓Khi bạn muốn xem đầy đủ chi tiết và hình ảnh của các bài đăng từ một Trang Facebook công khai.
  • ✓Khi bạn cần bảng phân tích phản ứng của từng bài đăng trên một trang hoặc trang cá nhân.
  • ✓Khi bạn muốn kiểm tra xem một trang có đang chạy quảng cáo trong thư viện quảng cáo hay không.

Liên kết skill

https://github.com/browser-act/skills/blob/main/solutions/social-listening/facebook-page-profile-posts/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/browser-act/skills/blob/main/solutions/social-listening/facebook-page-profile-posts/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Lấy 20 bài đăng gần nhất của Trang Facebook công khai cern, kèm hình ảnh, phân tích phản ứng và trạng thái thư viện quảng cáo.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill mở trang hoặc trang cá nhân trong trình duyệt đã đăng nhập và đọc dòng thời gian. Skill trả về từng bài đăng với nội dung, ảnh đại diện tác giả, số tương tác, phân tích phản ứng đầy đủ, hashtag, liên kết, ảnh thu nhỏ media và trạng thái thư viện quảng cáo của trang.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Facebook — Page / Profile Posts Scraper

Facebook page or profile URL → list of posts with full fields including media thumbnails, author profile pics, page ad library status, and flat reaction counts

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Extract posts from a public Facebook Page or personal Profile timeline, including post content, engagement counts, full reaction breakdown, media thumbnails, author profile picture, page ad library status, and text references (hashtags/links).

Prerequisites

  • The target Facebook page or profile is open in the browser (e.g., https://www.facebook.com/cern)
  • User is logged into Facebook (user avatar visible in the top right)

Pre-execution Checks

1. Tool Readiness

If browser-act has been confirmed available in the current session → skip this step.

Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

2. Login Verification

If login status for Facebook has been confirmed in the current session → skip this step.

Otherwise: navigate to https://www.facebook.com and check:

  • User avatar or name visible in top right → logged in, continue
  • Login button visible → not logged in, inform the user and assist with login

User refuses or cannot log in → terminate execution.

Capability Components

This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. JS code is encapsulated in Python files under the scripts/ directory, invoked via eval "$(python scripts/xxx.py {params})". $(...) is bash syntax; it is recommended to use the bash tool for execution.

API: Resolve Facebook page URL to numeric page ID

eval "$(python scripts/get-page-id.py '{page_url}')"

Parameters:

  • page_url: Full Facebook page or profile URL, e.g. https://www.facebook.com/cern

Must run while the target page is open (or any Facebook page is open) so the browser has Facebook cookies.

Output example:

{
  "pageId": "100064792144187",
  "pageUrl": "https://www.facebook.com/cern"
}

Error handling: If pageId is not found (page not found or not logged in), verify login status and that the URL is a valid Facebook page.

API: Fetch posts from page/profile timeline

eval "$(python scripts/get-page-posts.py '{page_id}' --page-url '{page_url}' --cursor '{cursor}' --after-time {after_time} --before-time {before_time} --count {count})"

Parameters:

  • page_id: Numeric Facebook page/profile ID (from get-page-id above)
  • --page-url: Original input URL (used for facebookUrl, inputUrl, pageName fields); omit if not needed
  • --cursor: Pagination cursor string from previous response pagination.endCursor; omit or pass null for first page
  • --after-time: Unix timestamp (seconds); only return posts after this time; omit or pass null for no filter
  • --before-time: Unix timestamp (seconds); only return posts before this time; omit or pass null for no filter
  • --count: Number of posts per batch, default 5, max recommended 10

Output example:

{
  "posts": [
    {
      "facebookUrl": "https://www.facebook.com/cern",
      "postId": "1417704873732571",
      "pageName": "cern",
      "url": "https://www.facebook.com/cern/posts/pfbid0n87...",
      "time": "2026-05-22T14:30:18.000Z",
      "timestamp": 1779460218,
      "user": {
        "id": "100064792144187",
        "name": "CERN",
        "profileUrl": "https://www.facebook.com/cern",
        "profilePic": "https://scontent-lax3-1.xx.fbcdn.net/v/t39.30808-1/..."
      },
      "collaborators": [],
      "text": "Post text content here...",
      "textReferences": [
        { "type": "ExternalUrl", "url": "https://home.cern/...", "offset": 731, "length": 96 },
        { "type": "Hashtag", "url": "https://www.facebook.com/hashtag/espp", "offset": 296, "length": 5 }
      ],
      "link": "https://home.cern/...",
      "likes": 1285,
      "comments": 45,
      "shares": 125,
      "topReactions": [
        { "name": "Like", "count": 1167 },
        { "name": "Love", "count": 98 },
        { "name": "Care", "count": 9 },
        { "name": "Wow", "count": 8 },
        { "name": "Haha", "count": 1 },
        { "name": "Sad", "count": 1 },
        { "name": "Angry", "count": 1 }
      ]
Câu hỏi thường gặp

Skill có đọc được cả trang cá nhân không?

Có. Mô tả bao gồm cả Trang Facebook công khai lẫn dòng thời gian của trang cá nhân.

Có những chi tiết media nào?

Mỗi bài đăng có thể có tài nguyên media kèm liên kết ảnh thu nhỏ và kích thước.

Bạn có cần đăng nhập không?

Có. Skill kiểm tra phiên Facebook đã đăng nhập trước khi đọc.

Chi tiết

Mô tả gốc của tác giả

Scrapes posts from any public Facebook Page or personal Profile timeline, returning structured data including post text, author info with profile picture, engagement metrics (likes/comments/shares), full reaction breakdown (Like/Love/Wow/Haha/Sad/Angry/Care as both array and flat counts), hashtags and external links, media assets with full thumbnail URLs and dimensions, page ad library status, and collaborators. Use when user wants to scrape Facebook posts, extract Facebook page content, get Facebook post data, collect Facebook engagement stats, download Facebook posts, monitor a Facebook page

repo: browser-act/skills

Độ phổ biến

Sao GitHub
6.3k
Vị trí xếp hạng
#14305
Giấy phép
MIT
Cập nhật
24/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự