Skip to main content

facebook

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

Source facts

Repository
ThinkfleetAI/thinkfleet-engine
Last source activity
February 1, 2026 at 16:21
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
facebook
description
Query Facebook — pages, posts, insights, and comments via the Graph API.
metadata
{"thinkfleetbot":{"emoji":"📘","requires":{"bins":"[Truncated]","env":"[Truncated]"}}}
# Facebook Query pages, posts, and insights via the Facebook Graph API. ## Environment Variables - `FACEBOOK_ACCESS_TOKEN` - Page or user access token ## Get page info ```bash 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 ```bash 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 ```bash 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.
View on GitHub