Page reviews

The newest reviews of a Facebook Page: text, recommends or not, date and reviewer, with the Page's recommend percentage.

Try it in the dashboard 100 free credits when you sign up, no card.

GET/v1/facebook/reviews

Costs 1 credit per request. Only requests that return data are charged.

Parameters

NameTypeDescription
pagerequired string The Page's username (natgeo), its numeric id, or its URL (https://www.facebook.com/natgeo).
limitoptional integer How many of the newest reviews to return. Default: 12. From 1 to 30.

Example request

curl "https://pipefetch.com/v1/facebook/reviews?page=copperkettleyqr" \
  -H "x-api-key: YOUR_API_KEY"

Example response

A real answer to the request above. Long texts and lists are shortened here, and the people who wrote comments, reviews or posts are replaced by a stand-in.

200 OK · application/json
{
  "data": {
    "page": {
      "id": "100064027242849",
      "name": "The Copper Kettle Restaurant",
      "url": "https://www.facebook.com/copperkettleyqr",
      "recommendPercent": 94,
      "reviewCount": 73
    },
    "reviews": [
      {
        "id": "0000000000",
        "url": "https://example.com/item",
        "isRecommended": true,
        "text": "They offers a cozy atmosphere, friendly service, and a menu of tasty comfort food at reasonable prices. It’s a great spot for casual dining.",
        "tags": [
          "Child-friendly",
          "Fast delivery"
        ],
        "createdAt": "2024-09-11T17:57:58.000Z",
        "reactionCount": 0,
        "commentCount": 0,
        "shareCount": 0,
        "reviewer": {
          "id": "0000000000",
          "name": "Example Person",
          "url": "https://example.com/profile",
          "pictureUrl": "https://example.com/avatar.jpg"
        }
      },
      {
        "id": "0000000000",
        "url": "https://example.com/item",
        "isRecommended": false,
        "text": "Normally the food from here is really good but we got pizza last night and it was somewhere in the range of sub par to just really not good. The whole…",
        "tags": [],
        "createdAt": "2024-04-11T17:40:55.000Z",
        "reactionCount": 1,
        "commentCount": 1,
        "shareCount": 0,
        "reviewer": {
          "id": "0000000000",
          "name": "Example Person",
          "url": "https://example.com/profile",
          "pictureUrl": "https://example.com/avatar.jpg"
        }
      }
    ]
  },
  "credits": {
    "used": 1,
    "remaining": 99
  }
}

Good to know

  • Reviews come newest first, at most 30 per request, with no paging to older ones. Facebook itself shows at most about 540 reviews of a Page to visitors who are not logged in.
  • isRecommended is true or false when Facebook states it in the review's English title line ("recommends" or "doesn't recommend"), and null when it does not.
  • page.recommendPercent and page.reviewCount are the summary on the Page's reviews tab, such as "94% recommend (73 reviews)".
  • A Page that does not exist answers 404 page_not_found, and one with no reviews, or with reviews turned off, answers 404 no_reviews. Neither costs anything.

Errors

Every error has the same shape, and none of them is charged. The full list is in the error reference.

Looking for an overview and use cases? See the Facebook Reviews API page.