# Facebook MCP server for AI agents

> Give Claude, Cursor or any MCP client Facebook data: 5 endpoints from $0.043 a call, no Facebook login. Your AI finds the endpoint, says the price and fetches.

Canonical page: https://okdata.online/ja/mcp/facebook/

## Connect your AI in one sentence

```text
Set up okdata for me by following https://okdata.online/agents.md. Here is my okdata API key: okd_…. Keep it safe and use it for all okdata calls.
```

## What it answers

| Question | Endpoint | Price |
|---|---|---|
| Facebook 投稿検索: キーワードで公開 Facebook 投稿を検索します。期間指定も可能です：本文、リンク、日時、リアクション数、コメント数、シェア数、投稿したページ。期間で絞り込んだページにも、範囲外の投稿が含まれる場合があります。 | [facebook.posts.search](https://okdata.online/apis/facebook/posts/search/) | $0.043 per call · about 10 posts per page |
| Facebook ページ ID の検索: 公開 Facebook ページまたはプロフィールの数値 ID をパス（facebook.com/NASA の NASA）から取得します。facebook.pages.posts.list に渡せます。 | [facebook.pages.get](https://okdata.online/apis/facebook/pages/get/) | $0.043 per call |
| Facebook ページの投稿: 公開 Facebook ページの投稿。新しい順：テキスト、リンク、時刻、リアクション数、コメント数、シェア数。 | [facebook.pages.posts.list](https://okdata.online/apis/facebook/pages/posts/list/) | $0.043 per call · about 3 posts per page |
| Facebook 投稿のコメント (coming soon): 公開 Facebook 投稿へのコメント：本文、時刻、リアクション数、返信数。コメント投稿者の名前は含まれません。ext.expansion_token は facebook.comments.replies.list に渡せます。 | [facebook.posts.comments.list](https://okdata.online/apis/facebook/posts/comments/list/) | $0.043 per call · about 10 comments per page |
| Facebook コメントへの返信 (coming soon): 公開 Facebook 投稿の 1 件のコメントに付いた返信：本文、日時、リアクション。返信者名は含みません。 | [facebook.comments.replies.list](https://okdata.online/apis/facebook/comments/replies/list/) | $0.043 per call · about 10 comments per page |

## Two calls

1. `find {"query":"facebook posts"}`: free
2. `call {"capability":"facebook.posts.search","query":"espresso machine"}`: $0.043 per call · about 10 posts per page

## Skill package

- `okdata-facebook`: https://okdata.online/.well-known/agent-skills/okdata-facebook/SKILL.md · https://okdata.online/skills/okdata-facebook.zip

[Every Facebook endpoint](https://okdata.online/apis/facebook/) · [MCP server](https://okdata.online/mcp/) · [Integrations](https://okdata.online/integrations/)
