Facebook ratings
pinmeto_get_facebook_ratingsFetch Facebook ratings for all locations or a single store by date range, with optional store ID for targeted results.
Instructions
Fetch Facebook ratings for all locations, or a single location if storeId provided.
Error Handling:
Rate limit (429): errorCode="RATE_LIMITED", message includes retry timing
Not found (404): errorCode="NOT_FOUND" if storeId doesn't exist
All errors: check structuredContent.errorCode and .retryable for programmatic handling
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date (YYYY-MM-DD) | |
| from | Yes | Start date (YYYY-MM-DD) | |
| storeId | No | Optional store ID to fetch a single location | |
| response_format | No | Response format: "json" (default, token-efficient) or "markdown" (human-readable with tables) | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Ratings data: single location summary or array of location summaries (absent on error) | |
| error | No | Error message if the request failed | |
| warning | No | Warning message (e.g., incomplete data due to lag) | |
| cacheInfo | No | Cache status information | |
| errorCode | No | Error code for programmatic handling | |
| retryable | No | Whether the operation can be retried | |
| warningCode | No | Warning code for programmatic handling |