# Facebook

> Facebook for FlyMy.AI agents - connect once with the official OAuth and let agents post, answer DMs and comments, and read analytics on your behalf. No API keys.

Lets an agent run your Facebook presence - connected with one click through the network's official OAuth. No API keys, no third-party registration: press Connect, sign in to Facebook, done.

## What it can do

| Capability | What it does |
| --- | --- |
| Publishing | Page posts with media, scheduling and drafts. |
| Messenger | Read Messenger conversations and reply. |
| Comments | List and reply to post comments. |
| Reviews | Read page reviews and reply. |
| Analytics | Post metrics and page insights. |

## How to connect

1. Open the Facebook tool in the FlyMy.AI catalog and press **Connect**.
2. Sign in with your Facebook account in the popup - this is the network's official OAuth.
3. That's it. The agent is scoped to the account you connected; tokens refresh automatically.

Notes:

- Connects your Facebook Page through official Meta OAuth.
- Write actions (posting, replying) always confirm content with you first.
- If a run reports "rate limited (429)" - it is transient; the agent retries automatically.

## Troubleshooting

- **"Account is not connected yet"** - the OAuth window was closed early. Reconnect the tool from the catalog.
- **A post fails on Facebook only** - open the post via the get-post action: the per-platform status explains the rejection (media format, caption limits, expired connection).
- **Account disconnected** - reconnect from the catalog; network tokens occasionally require a fresh sign-in.
