facebook-page-profile-posts
できること
公開されているFacebookページや個人プロフィールのタイムラインを読み取り、各投稿の詳細を返します。詳細な投稿データと反応データが必要なマーケターや分析担当者向けです。
使う場面
- ✓公開されているFacebookページの投稿の詳細と画像がほしいとき。
- ✓ページやプロフィールの投稿について、反応の内訳を知りたいとき。
- ✓ページが広告ライブラリで広告を出しているかを確認したいとき。
スキルのリンク
https://github.com/browser-act/skills/blob/main/solutions/social-listening/facebook-page-profile-posts/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“公開されているFacebookページ「cern」の最新20件の投稿を、画像、反応の内訳、広告ライブラリの状況とともに取得してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、ログインしているブラウザーでページまたはプロフィールを開き、タイムラインを読みます。各投稿の本文、投稿者の写真、反応の数と内訳、ハッシュタグ、リンク、メディアのサムネイル、そのページの広告ライブラリの状況を返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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 viaeval "$(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 forfacebookUrl,inputUrl,pageNamefields); omit if not needed--cursor: Pagination cursor string from previous responsepagination.endCursor; omit or passnullfor first page--after-time: Unix timestamp (seconds); only return posts after this time; omit or passnullfor no filter--before-time: Unix timestamp (seconds); only return posts before this time; omit or passnullfor no filter--count: Number of posts per batch, default5, max recommended10
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 }
]
よくある質問
個人のプロフィールも読めますか?
はい。公開されているFacebookページと個人プロフィールのタイムラインの両方が対象です。
メディアの詳細には何が含まれますか?
各投稿には、サムネイルのリンクと寸法を含むメディアの情報が含まれる場合があります。
ログインは必要ですか?
はい。スキルは読む前に、ログイン済みのFacebookセッションを確認します。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 6.3k
- ランキング
- #14305
- ライセンス
- MIT
- 更新日
- 2026/8/24
コメント
- …
このリポジトリの他のスキル
browser-act-skill-forge
6.3k一度サイトを調べて、スクリプト付きの再利用できるスキルを保存するのを支援します。そのサイトからのデータ取得が次回から速くなります。
browser-act
6.3kブラウザー自動化ツールで、ページを開いて内容を読んだり、フォーム入力、スクリーンショット、ログイン状態の維持を行えるよう支援します。
1688-product-detail
6.3k1688.comの卸売ページから、価格帯、バリエーション、販売者の評価、属性などの商品詳細を取得するのを支援します。
airbnb-listing-detail
6.3kAirbnbの掲載IDから、写真、設備、評価、宿泊ルールなど、公開されている詳細情報を取得するのを支援します。
似ているスキル
xurl
394k認証済みのxurlツールを使い、Xに投稿、返信、検索、閲覧し、ダイレクトメッセージを送り、メディアをアップロードするようエージェントを支援します。
connections-optimizer
280kソーシャルネットワークのつながりを改善します。フォローやフォロー解除の候補を提案し、パーソナライズされたメッセージの作成を支援して、ネットワークを広げます。
content-engine
280kさまざまなプラットフォーム向けのコンテンツを作成します。X、LinkedIn、YouTubeなどのネットワークで効果的な投稿、台本、コンテンツカレンダーの作成を支援します。