# 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/vi/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 |
|---|---|---|
| Tìm bài đăng Facebook: Tìm bài đăng Facebook công khai theo từ khóa, có thể giới hạn ngày: nội dung, link, thời gian, cảm xúc, bình luận và chia sẻ, và trang đã đăng. Trang lọc theo ngày vẫn có thể chứa bài ngoài khoảng đó. | [facebook.posts.search](https://okdata.online/apis/facebook/posts/search/) | $0.043 per call · about 10 posts per page |
| Tra cứu ID trang Facebook: ID dạng số của một trang hoặc hồ sơ Facebook công khai từ đường dẫn (NASA trong facebook.com/NASA), dùng cho facebook.pages.posts.list. | [facebook.pages.get](https://okdata.online/apis/facebook/pages/get/) | $0.043 per call |
| Bài đăng của trang Facebook: Bài đăng của một trang Facebook công khai, mới nhất trước: nội dung, liên kết, thời gian, cảm xúc, bình luận và chia sẻ. | [facebook.pages.posts.list](https://okdata.online/apis/facebook/pages/posts/list/) | $0.043 per call · about 3 posts per page |
| Bình luận bài đăng Facebook (coming soon): Bình luận dưới một bài đăng Facebook công khai: nội dung, thời gian, cảm xúc và số trả lời. Không có tên người bình luận. ext.expansion_token là giá trị mà facebook.comments.replies.list nhận. | [facebook.posts.comments.list](https://okdata.online/apis/facebook/posts/comments/list/) | $0.043 per call · about 10 comments per page |
| Phản hồi bình luận Facebook (coming soon): Phản hồi dưới một bình luận của bài đăng Facebook công khai: nội dung, thời gian và cảm xúc. Không nêu tên người phản hồi. | [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/)
