# Get a photo

Returns a public photo permalink with its initial comments and their pagination state.

- Platform: Facebook
- Request: `GET https://api.toolzerhub.com/v1/facebook/photo`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/facebook/post/get-facebook-photo

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `photoId` | query | yes | string |  |
| `setId` | query | no | string |  |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/facebook/photo?photoId=<photoId>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
