Get Facebook post overview metrics
curl --request POST \
--url https://posttu.com/api/v1/facebook/posts/overview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"channelId": "ch_fb123",
"postId": "<string>",
"includeComments": false,
"since": "<string>",
"until": "<string>",
"period": "<string>"
}
'import requests
url = "https://posttu.com/api/v1/facebook/posts/overview"
payload = {
"channelId": "ch_fb123",
"postId": "<string>",
"includeComments": False,
"since": "<string>",
"until": "<string>",
"period": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
channelId: 'ch_fb123',
postId: '<string>',
includeComments: false,
since: '<string>',
until: '<string>',
period: '<string>'
})
};
fetch('https://posttu.com/api/v1/facebook/posts/overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://posttu.com/api/v1/facebook/posts/overview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'channelId' => 'ch_fb123',
'postId' => '<string>',
'includeComments' => false,
'since' => '<string>',
'until' => '<string>',
'period' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://posttu.com/api/v1/facebook/posts/overview"
payload := strings.NewReader("{\n \"channelId\": \"ch_fb123\",\n \"postId\": \"<string>\",\n \"includeComments\": false,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"period\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://posttu.com/api/v1/facebook/posts/overview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"channelId\": \"ch_fb123\",\n \"postId\": \"<string>\",\n \"includeComments\": false,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"period\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/facebook/posts/overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"channelId\": \"ch_fb123\",\n \"postId\": \"<string>\",\n \"includeComments\": false,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"period\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"blueReelsPlayCount": 123,
"commentsCount": 123,
"impressions": 123,
"impressionsFanPaidUnique": 123,
"likeCount": 123,
"likedBy": [
{
"id": "<string>",
"name": "<string>",
"profilePic": "<string>"
}
],
"mediaUrls": [
{
"url": "<string>",
"mediaType": "<string>"
}
],
"postImpressionsUnique": 123,
"postVideoAvgTimeWatched": 123,
"postVideoSocialActions": {
"share": 123,
"comment": 123
},
"postVideoViewTime": 123,
"reactions": {
"like": 123,
"love": 123,
"anger": 123,
"haha": 123,
"wow": 123,
"sorry": 123,
"total": 123
}
}
}{
"error": "<string>"
}Posts
Get Facebook post overview metrics
Get Facebook post overview metrics via Posttu’s Facebook REST API (POST /api/v1/facebook/posts/overview) and MCP server.
POST
/
api
/
v1
/
facebook
/
posts
/
overview
Get Facebook post overview metrics
curl --request POST \
--url https://posttu.com/api/v1/facebook/posts/overview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"channelId": "ch_fb123",
"postId": "<string>",
"includeComments": false,
"since": "<string>",
"until": "<string>",
"period": "<string>"
}
'import requests
url = "https://posttu.com/api/v1/facebook/posts/overview"
payload = {
"channelId": "ch_fb123",
"postId": "<string>",
"includeComments": False,
"since": "<string>",
"until": "<string>",
"period": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
channelId: 'ch_fb123',
postId: '<string>',
includeComments: false,
since: '<string>',
until: '<string>',
period: '<string>'
})
};
fetch('https://posttu.com/api/v1/facebook/posts/overview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://posttu.com/api/v1/facebook/posts/overview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'channelId' => 'ch_fb123',
'postId' => '<string>',
'includeComments' => false,
'since' => '<string>',
'until' => '<string>',
'period' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://posttu.com/api/v1/facebook/posts/overview"
payload := strings.NewReader("{\n \"channelId\": \"ch_fb123\",\n \"postId\": \"<string>\",\n \"includeComments\": false,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"period\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://posttu.com/api/v1/facebook/posts/overview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"channelId\": \"ch_fb123\",\n \"postId\": \"<string>\",\n \"includeComments\": false,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"period\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/facebook/posts/overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"channelId\": \"ch_fb123\",\n \"postId\": \"<string>\",\n \"includeComments\": false,\n \"since\": \"<string>\",\n \"until\": \"<string>\",\n \"period\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"blueReelsPlayCount": 123,
"commentsCount": 123,
"impressions": 123,
"impressionsFanPaidUnique": 123,
"likeCount": 123,
"likedBy": [
{
"id": "<string>",
"name": "<string>",
"profilePic": "<string>"
}
],
"mediaUrls": [
{
"url": "<string>",
"mediaType": "<string>"
}
],
"postImpressionsUnique": 123,
"postVideoAvgTimeWatched": 123,
"postVideoSocialActions": {
"share": 123,
"comment": 123
},
"postVideoViewTime": 123,
"reactions": {
"like": 123,
"love": 123,
"anger": 123,
"haha": 123,
"wow": 123,
"sorry": 123,
"total": 123
}
}
}{
"error": "<string>"
}Authorizations
Body
application/json
Last modified on November 23, 2026

