facebook

SKILL.md

Facebook

Query pages, posts, and insights via the Facebook Graph API.

Environment Variables

  • FACEBOOK_ACCESS_TOKEN - Page or user access token

Get page info

curl -s "https://graph.facebook.com/v19.0/PAGE_ID?fields=name,fan_count,followers_count&access_token=$FACEBOOK_ACCESS_TOKEN" | jq '{name, fan_count, followers_count}'

List page posts

curl -s "https://graph.facebook.com/v19.0/PAGE_ID/posts?fields=message,created_time,likes.summary(true),comments.summary(true)&limit=10&access_token=$FACEBOOK_ACCESS_TOKEN" | jq '.data[] | {id, message, created_time, likes: .likes.summary.total_count, comments: .comments.summary.total_count}'

Get page insights

curl -s "https://graph.facebook.com/v19.0/PAGE_ID/insights?metric=page_impressions,page_engaged_users&period=day&access_token=$FACEBOOK_ACCESS_TOKEN" | jq '.data[] | {name, values: .values[-1]}'

Notes

  • Page access token required for page management.
  • Always confirm before posting content.
Weekly Installs
1
First Seen
Mar 1, 2026
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1