Skip to main content

facebook

Manage Facebook Pages, posts, and insights via Graph API. Post content, read comments, and analyze engagement.

Informações da origem

Repositório
Kernel8901/ai-agent-skills-classification
Última atividade na origem
4 de abril de 2026 às 15:26
Idioma detectado do SKILL.md
inglês
Estrelas
6
Forks
1

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
2 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
facebook
description
Manage Facebook Pages, posts, and insights via Graph API. Post content, read comments, and analyze engagement.
metadata
{"clawdbot":{"emoji":"👤","requires":{"env":"[Truncated]"}}}
# Facebook Social media platform (Pages API). ## Environment ```bash export FACEBOOK_ACCESS_TOKEN="xxxxxxxxxx" # Page Access Token export FACEBOOK_PAGE_ID="xxxxxxxxxx" ``` ## Get Page Info ```bash curl "https://graph.facebook.com/v18.0/$FACEBOOK_PAGE_ID?fields=name,followers_count,fan_count" \ -H "Authorization: Bearer $FACEBOOK_ACCESS_TOKEN" ``` ## Get Page Posts ```bash curl "https://graph.facebook.com/v18.0/$FACEBOOK_PAGE_ID/posts?fields=message,created_time,shares,likes.summary(true)" \ -H "Authorization: Bearer $FACEBOOK_ACCESS_TOKEN" ``` ## Create Post ```bash curl -X POST "https://graph.facebook.com/v18.0/$FACEBOOK_PAGE_ID/feed" \ -H "Authorization: Bearer $FACEBOOK_ACCESS_TOKEN" \ -d "message=Hello from automation!" ``` ## Post with Image ```bash curl -X POST "https://graph.facebook.com/v18.0/$FACEBOOK_PAGE_ID/photos" \ -H "Authorization: Bearer $FACEBOOK_ACCESS_TOKEN" \ -F "url=https://example.com/image.jpg" \ -F "caption=Check this out!" ``` ## Get Post Comments ```bash curl "https://graph.facebook.com/v18.0/{post_id}/comments" \ -H "Authorization: Bearer $FACEBOOK_ACCESS_TOKEN" ``` ## Get Page Insights ```bash curl "https://graph.facebook.com/v18.0/$FACEBOOK_PAGE_ID/insights?metric=page_impressions,page_engaged_users&period=day" \ -H "Authorization: Bearer $FACEBOOK_ACCESS_TOKEN" ``` ## Reply to Comment ```bash curl -X POST "https://graph.facebook.com/v18.0/{comment_id}/comments" \ -H "Authorization: Bearer $FACEBOOK_ACCESS_TOKEN" \ -d "message=Thanks for your comment!" ``` ## Links - Business: https://business.facebook.com - Docs: https://developers.facebook.com/docs/graph-api
Ver no GitHub