Skillpedia
وسائل التواصل الاجتماعي6.3k · #14304

facebook-page-posts

ما الذي تفعله

تقرأ هذه المهارة المنشورات على الخط الزمني لصفحة Facebook عامة وأرقام تفاعلها. وهي موجهة للمسوّقين والمحللين الذين يريدون معرفة ما تنشره صفحة وكيف يتفاعل الناس معه.

متى تستخدمها

  • ✓عندما تريد رؤية أحدث منشورات صفحة Facebook عامة.
  • ✓عندما تحتاج إلى الإعجابات والتعليقات والمشاركات لمنشورات صفحة.
  • ✓عندما تتحقق من الهاشتاجات والروابط التي تستخدمها صفحة في منشوراتها.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/browser-act/skills/blob/main/solutions/social-listening/facebook-page-posts/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“اعرض لي آخر 30 منشورًا من صفحة Facebook العامة cern، مع إعجاباتها وتعليقاتها ومشاركاتها.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تفتح المهارة الصفحة في متصفحك المسجّل الدخول وتقرأ الخط الزمني. تعيد نص كل منشور وكاتبه وأعداد التفاعل وتفصيل التفاعلات مثل الإعجاب والحب والضحك، والهاشتاجات والروابط ونوع الوسائط.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Facebook — Page Posts Scraper

Facebook page URL → list of posts with full engagement metrics and text references

Language

All process output to user (progress updates, process notifications) must be in English.

Objective

Extract posts from a public Facebook Page timeline, including post content, engagement counts, reaction breakdowns, and text references (hashtags/links).

Prerequisites

  • The target Facebook page 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 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",   // Numeric page ID used in all subsequent API calls
  "pageUrl": "https://www.facebook.com/cern"
}

API: Fetch posts from page timeline

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

Parameters:

  • page_id: Numeric Facebook page ID (from get-page-id above)
  • --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": [
    {
      "postId": "1417704873732571",                        // Numeric post ID
      "url": "https://www.facebook.com/cern/posts/pfbid…", // Post permalink
      "text": "CERN Council updates European Strategy…",   // Full post text
      "textReferences": [
        {
          "type": "ExternalUrl",                           // "ExternalUrl" or "Hashtag"
          "url": "https://home.cern/...",                  // Clean URL (not l.facebook.com redirect)
          "offset": 731,                                   // Position in text
          "length": 96
        },
        {
          "type": "Hashtag",
          "url": "https://www.facebook.com/hashtag/espp",
          "offset": 296,
          "length": 5
        }
      ],
      "creationTime": 1779460218,                          // Unix timestamp (seconds)
      "user": {
        "id": "100064792144187",                           // Page numeric ID
        "name": "CERN",                                    // Page display name
        "profileUrl": "https://www.facebook.com/cern"     // Page URL
      },
      "likes": 1220,                                       // Total reactions count
      "comments": 44,                                      // Comment count
      "shares": 122,                                       // Share count
      "topReactions": [
        { "name": "Like",  "count": 1108 },
        { "name": "Love",  "count": 92 },
        { "name": "Care",  "count": 9 },
        { "name": "Wow",   "count": 8 },
        { "name": "Haha",  "count": 1 },
        { "name": "Sad",   "count": 1 },
        { "name": "Angry", "count": 1 }
      ],
      
الأسئلة الشائعة

هل أحتاج إلى تسجيل الدخول إلى Facebook؟

نعم، تتحقق المهارة من أنك مسجّل الدخول قبل قراءة الصفحة.

ما بيانات التفاعل المتضمنة؟

تتضمن الإعجابات والتعليقات والمشاركات، مع تفصيل التفاعلات مثل الإعجاب والحب والضحك.

هل تقرأ الصفحات الخاصة؟

لا، هي مصممة للصفحات العامة في Facebook التي يستطيع أي شخص رؤيتها.

التفاصيل

الوصف الأصلي من المؤلف

Scrapes posts from any public Facebook Page timeline, returning structured data including post text, author info, engagement metrics (likes/comments/shares), reaction breakdowns (like/love/haha/wow/sad/angry/care), hashtags and external links, and media type. 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, crawl Facebook timeline, get Facebook reactions, get like count/comment count/share count from Facebook, Facebook post bulk export, Facebook social media

repo: browser-act/skills

الشعبية

نجوم GitHub
6.3k
الترتيب
#14304
الترخيص
MIT
آخر تحديث
24‏/8‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة