Facebook

List Page Reviews

Lists the reviews of a Facebook Page, newest first.

GET
/v1/accounts/{id}/reviews

Authorization

Bearer
headerAuthorizationBearer <op_>

Workspace API key, sent as Authorization: Bearer op_... Keys are created in the dashboard.

Path Parameters

id*string
Length1 <= length

Query Parameters

limit?integer

Items per page. Defaults to 50. Maximum 50.

Range1 <= value <= 50
Default50
cursor?string

The nextCursor of the previous page. Omit it for the first page.

Length1 <= length

Response Body

Reviews

application/json
  1. response
data*array<>
nextCursor*|

Cursor for the next page, or null on the last page.

hasMore*boolean

True when another page follows this one.

Example Request
import { Configuration, AccountsApi } from "@onepostly/sdk";const accountsApi = new AccountsApi(  new Configuration({ accessToken: process.env.ONEPOSTLY_API_KEY }));const response = await accountsApi.listAccountReviews({  id: "acc_YOUR_FACEBOOK_ACCOUNT_ID",  limit: 20,});console.log(response);
Example Response
{  "data": [    {      "id": "1093847561029384",      "recommendation": "positive",      "rating": null,      "text": "Friendly staff and the best sourdough in the neighborhood.",      "reviewerName": "Jane Doe",      "createdAt": "2027-03-14T16:20:00.000Z"    },    {      "id": "1093847561027710",      "recommendation": "negative",      "rating": null,      "text": "Waited 20 minutes for a coffee on Saturday.",      "reviewerName": null,      "createdAt": "2027-03-09T11:05:00.000Z"    },    {      "id": "1093847561015526",      "recommendation": null,      "rating": 5,      "text": null,      "reviewerName": "Sam Lee",      "createdAt": "2018-06-02T08:45:00.000Z"    }  ],  "nextCursor": "QVFIUjRtNWdLbGd6UXBVZAk1jY0FfTnJ3dkx2S0RxZAXhOQmZAPNnV5dE1CSmVvUHg",  "hasMore": true}