# Get Facebook post reactions

Fetches Facebook post reactions.

```http
GET https://api.pozy.ai/v1/accounts/{accountId}/facebook-post-reactions
```

- Area: Analytics / Analytics
- Auth: Authorization: Bearer pz_live_...

## Path parameters

- `accountId` (string, required)

## Query parameters

- `postId` (string, required)

## Example request

```bash
curl -X GET "https://api.pozy.ai/v1/accounts/696e0b682d0a31188e7a2ba9/facebook-post-reactions?postId=6108a2cc742cb4e991051e0c" \
  -H "Authorization: Bearer $POZY_API_KEY"
```

```ts
const res = await fetch("https://api.pozy.ai/v1/accounts/696e0b682d0a31188e7a2ba9/facebook-post-reactions?postId=6108a2cc742cb4e991051e0c", {
  headers: { Authorization: `Bearer ${process.env.POZY_API_KEY}` },
});
const data = await res.json();
if (!res.ok) throw new Error(data?.error ?? `Request failed with status ${res.status}`);
console.log(data);
```

```python
import os
import requests

resp = requests.get(
    "https://api.pozy.ai/v1/accounts/696e0b682d0a31188e7a2ba9/facebook-post-reactions",
    headers={"Authorization": f"Bearer {os.environ['POZY_API_KEY']}"},
    params={
        "postId": "6108a2cc742cb4e991051e0c",
    },
    timeout=30,
)
resp.raise_for_status()
print(resp.json())
```

## Response 200

- `accountId`, string
- `platform`, string
- `username`, string
- `postId`, string
- `total`, integer
- `breakdown`, object
  - `like`, integer
  - `love`, integer
  - `haha`, integer
  - `wow`, integer
  - `sad`, integer
  - `angry`, integer
  - `care`, integer
- `lastUpdated`, string (date-time)

```json
{
  "accountId": "696e0b682d0a31188e7a2ba9",
  "platform": "instagram",
  "username": "acme",
  "postId": "6108a2cc742cb4e991051e0c",
  "total": 42,
  "breakdown": {
    "like": 1,
    "love": 1,
    "haha": 1,
    "wow": 1,
    "sad": 1,
    "angry": 1,
    "care": 1
  },
  "lastUpdated": "2026-10-02T09:00:00.000Z"
}
```
