Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

keyapi-facebook-analysiskeyapi facebook 分析

Agent Skill

keyapi-facebook-analysis 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,616

周安装

109

GitHub Stars

公开资料未说明

下载量

872
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:keyapi-facebook-analysis(keyapi facebook 分析)
来源仓库:https://github.com/lycici/keyapi-facebook-analysis
安装命令:
openclaw skills install keyapi-facebook-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install keyapi-facebook-analysis

简介

解析公共 Facebook 数据包括个人资料、帖子与群组活动信息。

  • 适用于社交媒体舆情监控、影响力分析与品牌传播效果评估。
  • 支持按关键词、时间与地理位置等多条件组合检索目标内容。
  • 仅限公开资料访问,不得用于侵犯隐私或非法数据整理目的。
  • 高频请求可能被平台限流,建议合理控制查询频率避免封号风险。

SKILL.md

name
keyapi-facebook-analysis
description
Explore and analyze public Facebook data — profile details, posts, photos, Reels, group activity, group events, and identifier resolution for profiles and groups.
metadata
{"openclaw":{"requires":{"env":["KEYAPI_TOKEN"],"bins":["node"]},"primaryEnv":"KEYAPI_TOKEN","emoji":"👥"}}
author
KeyAPI
license
MIT
repository
https://github.com/EchoSell/keyapi-skills

keyapi-facebook-analysis

Explore and analyze public Facebook profiles, pages, and groups — from profile details and content feeds to group activity, events, and identifier resolution.

This skill provides comprehensive public Facebook intelligence using the KeyAPI MCP service. It enables retrieval of profile details (by URL or numeric ID), published posts, photos, Reels, group details, group posts, future group events, and ID resolution for both profiles and groups — all through a unified, cache-first workflow.

Use this skill when you need to:

  • Retrieve a public Facebook profile's details, posts, photos, or Reels by URL
  • Resolve a profile URL to its numeric profile ID for downstream API calls
  • Analyze public Facebook group activity — posts, member details, and upcoming events
  • Resolve a group URL to its numeric group ID
  • Research brand pages, public figures, or community groups on Facebook

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


Prerequisites

RequirementDetails
KEYAPI_TOKENA valid API token from keyapi.ai. Register at the site to obtain your free token. Set it as an environment variable: export KEYAPI_TOKEN=your_token_here
Node.jsv18 or higher
DependenciesRun npm install in the skill directory to install @modelcontextprotocol/sdk

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


MCP Server Configuration

All tool calls in this skill target the KeyAPI Facebook MCP server:

Server URL : https://mcp.keyapi.ai/facebook/mcp
Auth Header: Authorization: Bearer $KEYAPI_TOKEN

Setup (one-time):

# 1. Install dependencies
npm install

# 2. Set your API token (get one free at https://keyapi.ai/)
export KEYAPI_TOKEN=your_token_here

# 3. List all available tools to verify the connection
node scripts/run.js --platform facebook --list-tools

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


Analysis Scenarios

User NeedNode(s)Best For
Full profile details from a URLprofile_details_by_urlQuick profile snapshot without knowing the numeric ID
Resolve profile URL → numeric IDget_profile_idID resolution for use with profile_posts, profiles_photos, profile_reels
Profile details by numeric IDprofiles_details_by_idProfile lookup when ID is already known
Published posts from a profile/pageprofile_postsContent feed analysis, posting cadence
Photos from a profile/pageprofiles_photosVisual content audit, photo library
Reels from a profile/pageprofile_reelsShort-video content analysis
Group details from a URLget_group_detailsGroup overview, member count, description
Resolve group URL → numeric group IDget_group_idID resolution for get_group_posts and get_group_future_events
Posts from a public groupget_group_postsGroup activity monitoring, content analysis
Upcoming events in a groupget_group_future_eventsEvent discovery, community activity tracking

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


Workflow

Step 1 — Identify Analysis Targets and Select Nodes

Clarify the research objective and map it to one or more nodes. Typical entry points:

  • Profile research by URL: Use profile_details_by_url for a quick snapshot, OR use get_profile_id to obtain the numeric profile_id then call profiles_details_by_id.
  • Profile content audit: Call get_profile_id first, then use profile_posts, profiles_photos, profile_reels with the numeric ID.
  • Group research: Use get_group_details with the full URL, then get_group_id to obtain group_id for get_group_posts and get_group_future_events.
Critical: Three Distinct Identifier Types Facebook endpoints require different identifiers depending on the endpoint: | Identifier | Format | Used by | |---|---|---| | Profile URL | Full URL, e.g., https://www.facebook.com/mantraindianfolsom | profile_details_by_url, get_profile_id | | Numeric profile ID | Integer string, e.g., 100063669491743 | profile_posts, profiles_photos, profiles_details_by_id | | reels_profile_id | Base64 collection ID (opaque string) | profile_reels only | | Group URL | Full group URL, e.g., https://www.facebook.com/groups/1270525996445602/ | get_group_details, get_group_id | | Numeric group ID | Integer string, e.g., 1439220986320043 | get_group_posts, get_group_future_events |
profile_reels — Special reels_profile_id profile_reels uses a distinct reels_profile_id parameter that is NOT the same as the numeric profile_id. This opaque base64 collection ID is obtained from the profile_details_by_url or profiles_details_by_id response data. You cannot derive it from the numeric profile ID alone. Workflow: profile_details_by_url (or get_profile_idprofiles_details_by_id) → extract reels_profile_id from response → call profile_reels.
Public Content Only All endpoints in this skill return data from public Facebook profiles, pages, and groups only. Private profiles, private groups, and content requiring login cannot be accessed.

Step 2 — Retrieve API Schema

Before calling any node, inspect its input schema to confirm required parameters and available options:

node scripts/run.js --platform facebook --schema <tool_name>

# Examples
node scripts/run.js --platform facebook --schema profile_details_by_url
node scripts/run.js --platform facebook --schema get_group_posts

Step 3 — Call APIs and Cache Results Locally

Execute tool calls and persist responses to the local cache to avoid redundant API calls.

Calling a tool:

# Single call with pretty output
node scripts/run.js --platform facebook --tool <tool_name> \
  --params '<json_args>' --pretty

# Force fresh data, skip cache
node scripts/run.js --platform facebook --tool <tool_name> \
  --params '<json_args>' --no-cache --pretty

Example — get profile details by URL:

node scripts/run.js --platform facebook --tool profile_details_by_url \
  --params '{"url":"https://www.facebook.com/mantraindianfolsom"}' --pretty

Example — resolve URL to profile ID, then get posts:

# Step 1: resolve URL to numeric profile_id
node scripts/run.js --platform facebook --tool get_profile_id \
  --params '{"url":"https://www.facebook.com/mantraindianfolsom"}' --pretty

# Step 2: get posts using numeric profile_id
node scripts/run.js --platform facebook --tool profile_posts \
  --params '{"profile_id":"100063669491743"}' --pretty

Example — get next page of posts using cursor:

node scripts/run.js --platform facebook --tool profile_posts \
  --params '{"profile_id":"100063669491743","cursor":"<cursor_from_previous_response>"}' --pretty

Example — get profile Reels (requires reels_profile_id from profile details):

# Step 1: get profile details to obtain reels_profile_id
node scripts/run.js --platform facebook --tool profile_details_by_url \
  --params '{"url":"https://www.facebook.com/examplepage"}' --pretty
# Extract reels_profile_id from response

# Step 2: get reels using reels_profile_id
node scripts/run.js --platform facebook --tool profile_reels \
  --params '{"reels_profile_id":"<reels_profile_id_from_response>"}' --pretty

Example — resolve group URL, then get posts:

# Step 1: resolve group URL to numeric group_id
node scripts/run.js --platform facebook --tool get_group_id \
  --params '{"url":"https://www.facebook.com/groups/1270525996445602/"}' --pretty

# Step 2: get group posts
node scripts/run.js --platform facebook --tool get_group_posts \
  --params '{"group_id":"1439220986320043","sorting_order":"CHRONOLOGICAL"}' --pretty

Example — get group details and future events:

node scripts/run.js --platform facebook --tool get_group_details \
  --params '{"url":"https://www.facebook.com/groups/1270525996445602/"}' --pretty

node scripts/run.js --platform facebook --tool get_group_future_events \
  --params '{"group_id":"1571965316444595"}' --pretty

Pagination:

EndpointPagination parameterNotes
profile_posts, get_group_posts, get_group_future_eventscursor (string)Pass cursor from previous response; omit for first call
profiles_photoscursor (string)Also accepts optional collection_id to scope to a specific album
profile_reelscursor (string)Pass cursor from previous response; omit for first call
profile_details_by_url, profiles_details_by_id, get_profile_id, get_group_details, get_group_idSingle-call response

get_group_posts sorting options:

ValueDescription
CHRONOLOGICALMost recent posts first (default)
TOP_POSTSHighest engagement posts first
RECENT_ACTIVITYPosts with recent activity (comments/reactions)
CHRONOLOGICAL_LISTINGSChronological order for listing-type posts

Cache directory structure:

.keyapi-cache/
└── YYYY-MM-DD/
    ├── profile_details_by_url/
    │   └── {params_hash}.json
    ├── profile_posts/
    │   └── {params_hash}.json
    ├── profiles_photos/
    │   └── {params_hash}.json
    ├── profile_reels/
    │   └── {params_hash}.json
    ├── profiles_details_by_id/
    │   └── {params_hash}.json
    ├── get_profile_id/
    │   └── {params_hash}.json
    ├── get_group_posts/
    │   └── {params_hash}.json
    ├── get_group_details/
    │   └── {params_hash}.json
    ├── get_group_id/
    │   └── {params_hash}.json
    └── get_group_future_events/
        └── {params_hash}.json

Cache-first policy:

Before every API call, check whether a cached result already exists for the given parameters. If a valid cache file exists, load from disk and skip the API call.

Step 4 — Synthesize and Report Findings

After collecting all API responses, produce a structured intelligence report:

For profile/page analysis:

  1. Profile Overview — Name, numeric ID, profile type (personal/page), bio, follower count, verification status, category.
  2. Content Inventory — Post count, photo count, Reels count, posting frequency, content type distribution.
  3. Engagement Signals — Reaction counts, comment counts, share counts on posts.
  4. Visual Content — Photo collections, album topics, Reels themes.

For group analysis:

  1. Group Overview — Name, numeric group ID, member count, privacy type (public), description, creation date.
  2. Activity Profile — Post frequency, top contributors, discussion themes.
  3. Event Calendar — Upcoming events, event type, organizer, date/time distribution.

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


Common Rules

RuleDetail
Profile ID resolutionprofile_posts, profiles_photos, profiles_details_by_id require the numeric profile_id. Use get_profile_id or profile_details_by_url to obtain it from a URL.
profile_reels identifierRequires reels_profile_id (a base64 collection ID), NOT the numeric profile_id. Extract it from profile_details_by_url or profiles_details_by_id response.
Group ID resolutionget_group_posts and get_group_future_events require numeric group_id. Use get_group_id with the full group URL to obtain it.
Public content onlyAll endpoints return data from public profiles, pages, and groups only. Private content is inaccessible.
Cursor paginationUse cursor from the previous response for all paginated endpoints. Omit for the first call.
profiles_photos collectionPass optional collection_id to scope photo results to a specific album. Leave empty to fetch all photos.
Success checkcode = 0 → success. Any other value → failure. Always check the response code before processing data.
Retry on 500If code = 500, retry the identical request up to 3 times with a 2–3 second pause between attempts before reporting the error.
Cache firstAlways check the local .keyapi-cache/ directory before issuing a live API call.

author: KeyAPI license: MIT repository: https://github.com/EchoSell/keyapi-skills


Error Handling

CodeMeaningAction
0SuccessContinue workflow normally
400Bad request — invalid or missing parametersValidate URL format; ensure numeric IDs are strings, not integers; check reels_profile_id source
401Unauthorized — token missing or expiredConfirm KEYAPI_TOKEN is set correctly; visit keyapi.ai to renew
403Forbidden — plan quota exceeded or feature restrictedReview plan limits at keyapi.ai
404Resource not found — profile or group may be private or deletedVerify the URL; private profiles and groups cannot be accessed
429Rate limit exceededWait 60 seconds, then retry
500Internal server errorRetry up to 3 times with a 2–3 second pause; if it persists, log the full request and response and skip this node
Other non-0Unexpected errorLog the full response body and surface the error message to the user

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.6%
按下载量换算746

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills