VI | EN
Message us on Messenger
Developer resources

Page or page object fields — Facebook API

Page / Object · call it through Quantri360 with one API key for your own accounts / assets that you connected and authorized — 360 handles request signing and refreshing the authorization you granted.

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 (vd 2026-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 = false khi đã nhắn riêng rồi hoặc quá 7 ngày; can_hide = false với bình luận của chính Trang.

Request

Endpoint

GET https://partner.quantri360.com/v1/facebook/{version}/{page_id}

Authentication & shop

NameInTypeSampleDescription
AuthorizationheaderheaderBearer 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_idquerystringact_123456789 hoặc 1234567890Tà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

NameInTypeRequiredSampleDescription
versionpathstringYesv25.0Phiên bản Graph API.
page_idpathstringYes109900000000001Id 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 đó.
fieldsquerystringNoid,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)

NameTypeSampleDescription
idstring109900000000001Id đối tượng.
namestringCửa hàng mẫu FashionTrang: tên Trang.
categorystringThiết kế & Thời trangTrang: danh mục (theo ngôn ngữ của token).
fan_countint1500Trang: số lượt thích Trang.
followers_countint1500Trang: số người theo dõi.
about / website / phone / emails / link / usernamestringTrang: giới thiệu ngắn, website, SĐT, email (mảng), link Trang, tên người dùng.
verification_statusstringnot_verifiedTrang: `blue_verified` · `gray_verified` · `not_verified`.
pictureobjectTrang: `{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

  1. Sign up for Partner
  2. Enable a data type of the Trang & Messenger group on the platform page
  3. Create an API key (tick the Facebook channel)
  4. Call it as in the examples above