360 Secure SkillHub
360 安全技能中心

Facebook API

封装 JustOneAPI 的 3 个 Facebook 只读操作:按关键词搜索公开帖子、由主页链接获取主页 ID、按主页 ID 获取公开帖子。需配置 JUST_ONE_API_TOKEN,通过 node 脚本发起 GET 请求;先查操作文档选择最小匹配操作,缺失参数须向用户确认,输出以平实结论为主并附关键字段。

justoneapi
justoneapi
热度 61.41
最近更新 2026-05-11 17:40:03
分类:搜索依赖:代码执行 / 第三方 API应用场景:社交媒体 / 研究 / 市场分析

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add justoneapi-facebook
Metadata
name
Facebook API
description
Analyze Facebook workflows with JustOneAPI, including post Search, get Profile ID, and get Profile Posts.
author
JustOneAPI
homepage
https://api.justoneapi.com
metadata
{"openclaw":{"homepage":"https://api.justoneapi.com","primaryEnv":"JUST_ONE_API_TOKEN","requires":{"bins":["node"],"env":["JUST_ONE_API_TOKEN"]},"skillKey":"justoneapi_facebook"}}

Facebook

This skill wraps 3 Facebook operations exposed by JustOneAPI. It is strongest for post Search, get Profile ID, and get Profile Posts. Expect common inputs such as cursor, endDate, keyword, profileId, startDate.

When To Use It

  • The user needs post Search or get Profile ID on Facebook.
  • The task lines up with get Profile Posts rather than a generic cross-platform workflow.
  • The user can provide identifiers or filters such as cursor, endDate, keyword, profileId.
  • The user wants an exact API-backed answer instead of a freeform summary.

Representative Operations

  • searchFacebookPostsV1: Post Search — Get Facebook post Search data, including matched results, metadata, and ranking signals, for discovering relevant public posts for specific keywords and analyzing engagement and reach of public content on facebook
  • getProfileIdV1: Get Profile ID — Retrieve the unique Facebook profile ID from a given profile URL
  • getProfilePostsV1: Get Profile Posts — Get public posts from a specific Facebook profile using its profile ID

Request Pattern

  • 3 operations are available in this skill.
  • HTTP methods used here: GET.
  • The most common non-token parameters are cursor, endDate, keyword, profileId, startDate.
  • All operations in this skill are parameter-driven requests; none require a request body.

How To Work

  1. Read generated/operations.md before choosing an endpoint.
  2. Start with one of these operations when it matches the user's request: searchFacebookPostsV1, getProfileIdV1, getProfilePostsV1.
  3. Pick the smallest matching operation instead of guessing.
  4. Ask the user for any missing required parameter. Do not invent values.
  5. Call the helper with:
node {baseDir}/bin/run.mjs --operation "<operation-id>" --token "$JUST_ONE_API_TOKEN" --params-json '{"key":"value"}'

Environment

  • Required: JUST_ONE_API_TOKEN
  • This skill uses JUST_ONE_API_TOKEN only for authenticated Just One API requests.
  • Keep JUST_ONE_API_TOKEN private. Do not paste it into chat messages, screenshots, or logs.
  • Get a token from Just One API Dashboard.
  • Authentication details: Just One API Usage Guide.

Output Rules

  • Start with a plain-language answer tied to the Facebook task the user asked for.
  • Include the most decision-relevant fields from the selected endpoint before dumping raw JSON.
  • When using searchFacebookPostsV1, explain why the returned fields answer the user's question.
  • If the user gave filters such as cursor, endDate, keyword, echo those back so the scope is explicit.
  • If the backend errors, include the backend payload and the exact operation ID.