JustSERPDocs
Facebook

Facebook business page reviews

A Facebook business page's reviews under the Facebook Business Page Reviews parameters (one of `page_id`, `username`, `url`, or a `next_page_token`), answered as the document: `search_metadata`, `search_parameters`, `page`, `ratings`, `rating` (the recommend percentage), `reviews_count`, `reviews` (`review_id`, `link`, `recommendation`, `text`, `date`, `iso_date`, `user`, `tags`, `images`, `reactions_count`, `comments_count`, `comments`) and `pagination.next_page_token`.

GET
/v1/facebook/business-page/reviews

A Facebook business page's reviews under the Facebook Business Page Reviews parameters (one of page_id, username, url, or a next_page_token), answered as the document: search_metadata, search_parameters, page, ratings, rating (the recommend percentage), reviews_count, reviews (review_id, link, recommendation, text, date, iso_date, user, tags, images, reactions_count, comments_count, comments) and pagination.next_page_token. Ten reviews a page: no token is given past 60 reviews. With a token, page, ratings, rating and reviews_count are omitted. Review images is untested on real data.

Authorization

headerX-API-Key<token>

Your API key.

Query Parameters

cancel_token?string

A name you make up for this request (a UUID is fine), so you can later GET /v1/cancel with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.

Length1 <= length <= 128
page_id?string
username?string
url?string
Lengthlength <= 2048
next_page_token?string

From an answer's pagination; base64url JSON of the page address and the reviews before.

Response Body

The reviews, as the document. When the page could not be parsed, the usual envelope.

application/json
  1. response

The Facebook Business Page Reviews document. With a token, page, ratings, rating and reviews_count are omitted. rating is the recommend percentage. Review images is untested on real data; user_id is the id Facebook gave this visitor.

search_metadata*
search_parameters*

The parameters the search ran with, defaults filled in; engine is the engine's name.

search_information?
page?
ratings?string
rating?number
reviews_count?integer
reviews?array<>
pagination?
Example Request
curl -X GET 'https://api.justserp.com/v1/facebook/business-page/reviews?username=brushystreet'
Example Response
{  "search_metadata": {    "id": "string",    "status": "Success",    "created_at": "string",    "request_url": "string",    "html_url": "string"  },  "search_parameters": {},  "search_information": {},  "page": {},  "ratings": "string",  "rating": 0,  "reviews_count": 0,  "reviews": [    {      "review_id": "string",      "link": "string",      "recommendation": "string",      "text": "string",      "date": "string",      "iso_date": "string",      "user": {},      "tags": [        "string"      ],      "images": [        {}      ],      "reactions_count": 0,      "comments_count": 0,      "comments": [        {}      ]    }  ],  "pagination": {    "next_page_token": "string"  }}