Skip to main content

Facebook Page: reviews, tagged posts, Insights and captions

Read what happens around a Facebook Page connected to a profile (its reviews, the posts that tag it and the posts visitors leave on it), query Page, post and video Insights on demand, and manage the captions of the Page's videos.

  • Authentication: API Key — Authorization: Apikey <YOUR_API_KEY>
  • Every endpoint takes user (the profile username). The Page is resolved like in Page info: page_id in the request, then the Page pinned to the profile, the account's default Page, or the only Page it manages. With several Pages and none of those, the answer is 400 facebook_page_required.

Reads are cached for a short time per account: repeating the same call right away returns the same answer with "cached": true.

Reviews and recommendations​

GET /api/uploadposts/facebook/ratings?user=my-profile[&page_id=][&limit=25][&after=]

The Page's reviews as Facebook returns them (created_time, recommendation_type, review_text, rating, has_rating, has_review, reviewer). The first page also carries summary with overall_star_rating and rating_count. Read only: the API cannot write, edit or delete reviews. Needs the pages_read_user_content permission on the connection.

curl "https://api.upload-post.com/api/uploadposts/facebook/ratings?user=my-profile&limit=25" \
-H 'Authorization: Apikey your-api-key-here'
{
"success": true,
"page_id": "104573918234567",
"items": [
{
"created_time": "2026-11-20T18:04:11+0000",
"recommendation_type": "positive",
"review_text": "Great service, fast delivery.",
"has_rating": false,
"has_review": true
}
],
"next_cursor": "QVFIUm...",
"has_more": true,
"summary": { "overall_star_rating": 4.7, "rating_count": 212 }
}

Meta has said recommendations may stop being served in newer Graph API versions. If that happens the call answers 410 facebook_endpoint_deprecated.

Posts that tag the Page​

GET /api/uploadposts/facebook/tagged?user=my-profile[&page_id=][&limit=25][&after=]

Posts in which other people or Pages tagged this Page: id, message, created_time, permalink_url, full_picture, from, tagged_time. Needs pages_read_user_content.

Visitor posts​

GET /api/uploadposts/facebook/visitor-posts?user=my-profile[&page_id=][&limit=25][&after=][&include_hidden=true]
Most Pages no longer have visitor posts

Meta does not offer visitor posts on Pages of the New Pages Experience, which is every Page created in recent years and most migrated ones. On those Pages this call answers 410 facebook_feature_unavailable.

Posts that visitors published on the Page: id, message, created_time, permalink_url, full_picture, from, is_hidden. Add include_hidden=true to include hidden ones.

The three listings use the same paging: limit 1-100 (default 25), and next_cursor from one answer goes back as after for the next page while has_more is true.

Insights on demand​

GET /api/uploadposts/facebook/insights?user=my-profile&metric=page_daily_follows_unique,page_media_view[&object_id=][&period=day][&since=][&until=][&breakdown=]
ParameterDescription
metricRequired. Comma-separated metric names from Meta's Insights reference. Only metrics Meta lists as current are accepted; any other answers 400 invalid_metric with allowed_metrics.
object_idOptional. A post of the Page (PAGEID_POSTID) or a video of the Page. Without it the Page itself is read. A video is read through its post, with the post_video_* metrics.
periodday, week, days_28, month, lifetime or total_over_range.
since, untilUnix timestamp or YYYY-MM-DD.
breakdownearning_source or monetization_tool (monetization metrics); is_from_ads or is_from_followers (page_media_view, post_media_view).
curl "https://api.upload-post.com/api/uploadposts/facebook/insights?user=my-profile&metric=post_reactions_by_type_total,post_clicks_by_type&object_id=104573918234567_1122334455667788" \
-H 'Authorization: Apikey your-api-key-here'
{
"success": true,
"page_id": "104573918234567",
"object_id": "104573918234567_1122334455667788",
"data": [
{
"name": "post_reactions_by_type_total",
"period": "lifetime",
"values": [ { "value": { "like": 184, "love": 22 } } ]
}
]
}

data is Meta's answer as is. A post or video that is not of this Page answers 403 facebook_object_not_owned (or facebook_video_not_owned); one that no longer exists answers 404 facebook_object_not_found. These are live reads from Meta: for the analytics Upload-Post already collects, see Get Analytics.

Video captions​

GET  /api/uploadposts/facebook/videos/{video_id}/captions?user=my-profile[&page_id=]
POST /api/uploadposts/facebook/videos/{video_id}/captions (multipart/form-data)

GET lists the caption tracks of a video of the Page (captions). POST changes them; send any of:

FieldDescription
userRequired. Profile username.
captions_file + localeAn SRT file (UTF-8, up to 200 KB) for one locale, e.g. en_US. Facebook refuses a locale the video already has: delete it first.
default_localeThe locale shown by default, or none.
delete_locales + confirmLocales to delete (comma-separated or a JSON array), with confirm=true. This is how a caption track is removed: there is no DELETE method.
curl -X POST https://api.upload-post.com/api/uploadposts/facebook/videos/1234567890123456/captions \
-H 'Authorization: Apikey your-api-key-here' \
-F 'user=my-profile' \
-F 'locale=en_US' \
-F '[email protected]' \
-F 'default_locale=en_US'
{
"success": true,
"page_id": "104573918234567",
"video_id": "1234567890123456",
"uploaded_locale": "en_US",
"default_locale": "en_US",
"deleted_locales": []
}

The video must belong to the profile's Page (403 facebook_video_not_owned). A file over 200 KB answers 413 file_too_large; an empty or invalid one 400 empty_file or invalid_caption_file. Changing captions needs the pages_manage_posts permission.

Errors​

Statuserror_codeMeaning
400invalid_field, facebook_validation_error, invalid_metric, no_fields, confirmation_requiredInvalid request, or Facebook rejected it.
400facebook_not_connected, facebook_page_required, facebook_page_not_accessibleNo Facebook connection, several Pages and none chosen, or a Page the connection cannot use.
401facebook_reconnect_requiredReconnect Facebook.
403facebook_permission_missingFacebook refused it for a missing permission or Page role (required_permission).
403facebook_object_not_owned, facebook_video_not_ownedThe post or video is not of this Page.
404profile_not_found, no_facebook_pages, facebook_object_not_foundUnknown profile, no Page, or the object no longer exists.
410facebook_endpoint_deprecated, facebook_feature_unavailableFacebook no longer serves it (see above).
429facebook_rate_limitedFacebook is rate limiting the Page.
502facebook_api_errorError on Facebook's side.