Page / Object
GET/{version}/{page_id}Via 360: GET https://partner.quantri360.com/v1/facebook/{version}/{page_id}
Coming soon. This API already runs in production through 360 and pricing is being finalised — you can read the docs and prepare your integration now.
Description
Đọc các trường của MỘT đối tượng theo id: thông tin Trang (tên, danh mục, lượt theo dõi, giới thiệu, website, ảnh đại diện), hoặc một bài viết, bình luận, video, người nhắn tin (PSID) của Trang — chọn trường bằng fields. 360 dùng để hiển thị hồ sơ Trang ở báo cáo Page và lấy tên / ảnh người bình luận, người nhắn tin ở Inbox.
- Cùng hình dạng với
GET /{version}/{object_id}của Quảng cáo — 360 phân giải theo gói của key: key có gói Facebook Page đọc được các đối tượng của Trang (token Trang), key có gói Quảng cáo đọc đối tượng quảng cáo. - Thời gian dạng ISO 8601 giờ UTC có hậu tố
+0000(vd2026-10-28T06:59:21+0000) — cộng 7 giờ ra giờ Việt Nam. - Trường không tồn tại cho loại đối tượng sẽ bị Meta báo
(#100) Tried accessing nonexisting field …— mỗi loại đối tượng (Trang, bài, bình luận, video) có bộ trường riêng. - Bình luận:
can_reply_privately = falsekhi đã nhắn riêng rồi hoặc quá 7 ngày;can_hide = falsevới bình luận của chính Trang.
Request
Endpoint
GET https://partner.quantri360.com/v1/facebook/{version}/{page_id}
Authentication & shop
| Name | In | Type | Sample | Description |
|---|---|---|---|---|
| Authorization | header | header | Bearer q360_live_ab12cd34_… | Khóa API của brand (tạo ở mục API key). Bắt buộc với mọi request. Brand suy từ key — không truyền mã brand. |
| platform_shop_id | query | string | act_123456789 hoặc 1234567890 | Tài sản Facebook brand đã nối với 360: tài khoản quảng cáo (act_<id> hoặc <id>), Page id hoặc Pixel id — lấy ở GET /v1/platforms. Có thể bỏ khi đường dẫn đã chứa act_<id> / page id của brand. |
Request parameters
| Name | In | Type | Required | Sample | Description |
|---|---|---|---|---|---|
| version | path | string | Yes | v25.0 | Phiên bản Graph API. |
| page_id | path | string | Yes | 109900000000001 | Id Trang đã nối với 360; hoặc id bài viết (<page_id>_<post_id>), bình luận (<post_id>_<comment_id>), video, PSID người nhắn tin — gọi với platform_shop_id = Trang chứa đối tượng đó. |
| fields | query | string | No | id,name,category,about,website,fan_count,followers_count,verification_status,picture.type(large) | Trường cần lấy, cách nhau dấu phẩy. Không gửi = chỉ id (+ name với Trang). Trường con viết tên{con1,con2} hoặc tên.modifier(giá trị). Bài viết: id,message,created_time,updated_time,status_type,is_published,permalink_url,shares,comments.summary(true).limit(0),reactions.summary(true).limit(0). Bình luận: id,message,created_time,from,like_count,comment_count,is_hidden,can_hide,can_reply_privately,parent{id}. Người nhắn tin (PSID): name,profile_pic. |
Request examples
curl -s "https://partner.quantri360.com/v1/facebook/v25.0/109900000000001?fields=id%2Cname%2Ccategory%2Cabout%2Cwebsite%2Cfan_count%2Cfollowers_count%2Cverification_status%2Cpicture" \ -H "Authorization: Bearer $KEY"
Python
import requests
KEY = "q360_live_..." # khóa API của brand
r = requests.get(
"https://partner.quantri360.com/v1/facebook/v25.0/109900000000001",
params={
"fields": "id,name,category,about,website,fan_count,followers_count,verification_status,picture"
},
headers={"Authorization": f"Bearer {KEY}"},
timeout=60,
)
print(r.status_code)
print(r.json())Node.js
const KEY = 'q360_live_...'; // khóa API của brand
const url = new URL('https://partner.quantri360.com/v1/facebook/v25.0/109900000000001');
for (const [k, v] of Object.entries({"fields":"id,name,category,about,website,fan_count,followers_count,verification_status,picture"})) url.searchParams.set(k, typeof v === 'object' ? JSON.stringify(v) : String(v));
const r = await fetch(url, {
method: 'GET',
headers: { Authorization: `Bearer ${KEY}` },
});
console.log(r.status, await r.json());PHP
<?php $key = 'q360_live_...'; // khóa API của brand $url = 'https://partner.quantri360.com/v1/facebook/v25.0/109900000000001' . '?' . http_build_query(['fields' => 'id,name,category,about,website,fan_count,followers_count,verification_status,picture']); $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer ' . $key]); $res = curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo $status, "\n", $res;
Response
Response fields (as returned by Facebook)
| Name | Type | Sample | Description |
|---|---|---|---|
| id | string | 109900000000001 | Id đối tượng. |
| name | string | Cửa hàng mẫu Fashion | Trang: tên Trang. |
| category | string | Thiết kế & Thời trang | Trang: danh mục (theo ngôn ngữ của token). |
| fan_count | int | 1500 | Trang: số lượt thích Trang. |
| followers_count | int | 1500 | Trang: số người theo dõi. |
| about / website / phone / emails / link / username | string | Trang: giới thiệu ngắn, website, SĐT, email (mảng), link Trang, tên người dùng. | |
| verification_status | string | not_verified | Trang: `blue_verified` · `gray_verified` · `not_verified`. |
| picture | object | Trang: `{data: {url, width, height, is_silhouette}}` — link ảnh có hạn, không lưu lâu dài. | |
| message / created_time / from / permalink_url … | Bài viết / bình luận: các trường đã yêu cầu trong `fields` (xem tham số). |
Response sample
{
"id": "109900000000001",
"name": "Cửa hàng mẫu Fashion",
"fan_count": 1500,
"followers_count": 1500,
"category": "Thiết kế & Thời trang",
"about": "Cửa hàng thời trang minh họa.",
"link": "https://www.facebook.com/109900000000001",
"username": "trang.mau",
"website": "https://example.com/",
"phone": "+84901234567",
"emails": [
"cskh@example.com"
],
"verification_status": "not_verified",
"picture": {
"data": {
"height": 50,
"is_silhouette": false,
"url": "https://scontent.fsgn13-1.fna.fbcdn.net/v/t39.30808-1/…",
"width": 50
}
}
}
Get started
- Sign up for Partner
- Enable a data type of the Trang & Messenger group on the platform page
- Create an API key (tick the Facebook channel)
- Call it as in the examples above