AGENT SKILL

social-midia-facebook

Use when the user wants to draft, post, schedule, or analyze Facebook Page content (feed posts, photos, videos, reels, stories), or asks about the Pages API / Graph API (page tokens, permissions, scheduled posts, insights).

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
social-midia-facebook
triggers
[ "user", "model" ]
description
Use when the user wants to draft, post, schedule, or analyze Facebook Page content (feed posts, photos, videos, reels, stories), or asks about the Pages API / Graph API (page tokens, permissions, scheduled posts, insights).

02 资源文件 1

03 SKILL.md 正文

Facebook (Pages)

Pages only. Personal profile posting was removed Aug 2018 (publish_actions gone); Groups API removed Apr 2024. Any design needing either is dead on arrival.

Capabilities (official)

  • POST /{page-id}/feed: text and/or link posts.
  • POST /{page-id}/photos: single photo (url or upload); multi-photo via published=false uploads + attached_media[] on /feed.
  • POST /{page-id}/videos: resumable chunked upload on graph-video.facebook.com.
  • POST /{page-id}/video_reels: 3-phase upload (start -> transfer -> finish), video_state DRAFT/PUBLISHED/SCHEDULED.
  • POST /{page-id}/photo_stories, /video_stories.
  • Live Video API (publish_video scope) + crossposting to whitelisted Pages.
  • Native scheduling: published=false + scheduled_publish_time on /feed; list via GET /{page-id}/scheduled_posts.

Detail: api.md.

Auth & access

  • Page access token required for Page actions; a User token won't post as the Page. Derive: User token -> GET /me/accounts.
  • Long-lived Page tokens never expire (unless invalidated).
  • Permissions: pages_manage_posts (+pages_read_engagement, pages_show_list deps), read_insights for analytics.
  • Task model: CREATE_CONTENT to publish, ANALYZE for insights.
  • Dev mode works for app roles only; production pages_manage_posts on others' Pages needs App Review + screencast.
  • Env vars (convention): FACEBOOK_PAGE_ACCESS_TOKEN, FACEBOOK_PAGE_ID, META_APP_ID, META_APP_SECRET.

Formats & limits

  • Photos: jpeg/bmp/png/gif/tiff, <=10MB, no animation.
  • Reel: mp4 9:16, 1080x1920 rec, 24-60fps, 3-90s, H.264/H.265.
  • Post message char limit not documented officially (UNVERIFIED).
  • Feed read: max limit=100; returns unpublished posts too (is_published filter).

Scheduling & automation

  • scheduled_publish_time: docs conflict on window (10min-30d vs 10min-75d vs 10min-6mo); read back the field to verify.
  • Reels: 30 API-published reels per rolling 24h.
  • Page-level BUC rate limits; throttle errors 32/80001.
  • Policy: consent before publishing for someone; no prefilled share text; no automation outside Platform APIs.

Analytics

  • GET /{page-id}/insights/{metric}; needs read_insights + pages_read_engagement + ANALYZE task.
  • Page needs >=100 likes; 2-year data; 90-day windows.
  • Metric churn (Nov 2025): page_fans* -> page_follows; *_impressions* -> *_media_view.

Professional routines

  • Confirmed formats: feed posts, photos, videos, reels, stories, live, crossposting.
  • Meta Business Suite is the official UI for scheduling/inbox; Page Insights API metrics are being aligned to it.
  • Page Events API is Marketing-Partner-only.

Reference

  • api.md: token derivation, upload phases, doc conflicts, errors.
  • Provenance: .devin/research/social-midia/facebook.md.

04 同仓库更多 Skills

Leostruka
Leostruka/devin-bundle

montador-de-ideias

Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.

★ 0
Leostruka
Leostruka/devin-bundle

git-github-adaptive-engineering

Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.

★ 0
Leostruka
Leostruka/devin-bundle

adaptive-agenda-calendar-routine-engine

Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0