List Page Reviews
Lists the reviews of a Facebook Page, newest first.
GET
Bearerheader
AuthorizationBearer <op_>Workspace API key, sent as Authorization: Bearer op_... Keys are created in the dashboard.
id*stringLength
1 <= lengthlimit?integerItems per page. Defaults to 50. Maximum 50.
Range
1 <= value <= 50Default
50cursor?stringThe nextCursor of the previous page. Omit it for the first page.
Length
1 <= lengthReviews
application/json- response
data*array<>nextCursor*|Cursor for the next page, or null on the last page.
hasMore*booleanTrue 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}