Facebook — Trang
Xem thông tin Page (Get Page details) — facebook.get_page_details
Reads a Facebook Page's profile: name, category, about, fan count and link. Pass fields (comma separated) to request more. Use before posting to confirm the Page.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | pages_show_list, pages_read_engagement |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
fields | Các trường cần lấy (fields) | string | không | Comma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
id | Mã Page | string | |
name | Tên Page | string | |
category | Danh mục | string | |
about | Giới thiệu | string | |
fan_count | Số người thích | integer | |
link | Liên kết | string |
Xem insights của Page (Get Page insights) — facebook.get_page_insights
Reads Page insights metrics (e.g. page_impressions, page_post_engagements). metric is required, comma separated; period is day, week, days_28 or lifetime.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | read_insights, pages_read_engagement |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
metric | Chỉ số (metric) | string | có | Comma-separated metric names, e.g. "page_impressions,page_post_engagements". |
period | Chu kỳ (period) | string | không | Aggregation period of the metric values. One of: day, week, days_28, month, lifetime, total_over_range. |
since | Từ thời điểm | string | không | Start of the time range: Unix time or ISO 8601 date, e.g. "2026-01-31". |
until | Đến thời điểm | string | không | End of the time range: Unix time or ISO 8601 date, e.g. "2026-02-28". |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Danh sách kết quả | array of object | |
data[].id | string | ||
data[].name | string | ||
data[].period | string | ||
data[].values | array | ||
paging | Phân trang | object | |
paging.cursors | object |
Xem ảnh của Page (Get Page photos) — facebook.get_page_photos
Lists photos of a Page. type is uploaded (default), tagged or profile. Returns photo ids and image URLs; supports paging with limit and after.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | pages_show_list, pages_read_engagement |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
type | Loại ảnh | string | không | Which photos to list: uploaded by the Page, tagged with it, or profile photos. One of: uploaded, tagged, profile. |
fields | Các trường cần lấy (fields) | string | không | Comma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults. |
limit | Số kết quả tối đa | integer | không | Max items per page (1-100). Min 1. Max 100. |
after | Con trỏ trang tiếp theo | string | không | Cursor for the next page, from paging.cursors.after of the previous call. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Danh sách kết quả | array of object | |
data[].id | string | ||
data[].name | string | ||
data[].created_time | string | ||
data[].link | string | ||
paging | Phân trang | object | |
paging.cursors | object |
Xem bài viết của Page (Get Page posts) — facebook.get_page_posts
Lists posts published on a Page's feed, newest first. Filter with since/until (unix time or date string); supports paging. Use get_post for one post's details.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | pages_read_engagement, pages_read_user_content |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
fields | Các trường cần lấy (fields) | string | không | Comma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults. |
since | Từ thời điểm | string | không | Start of the time range: Unix time or ISO 8601 date, e.g. "2026-01-31". |
until | Đến thời điểm | string | không | End of the time range: Unix time or ISO 8601 date, e.g. "2026-02-28". |
limit | Số kết quả tối đa | integer | không | Max items per page (1-100). Min 1. Max 100. |
after | Con trỏ trang tiếp theo | string | không | Cursor for the next page, from paging.cursors.after of the previous call. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Danh sách kết quả | array of object | |
data[].id | string | ||
data[].message | string | ||
data[].created_time | string | ||
data[].permalink_url | string | ||
paging | Phân trang | object | |
paging.cursors | object |
Xem video của Page (Get Page videos) — facebook.get_page_videos
Lists videos uploaded to a Page with id, title, description and source link. Supports paging with limit and after.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | pages_show_list, pages_read_engagement |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
fields | Các trường cần lấy (fields) | string | không | Comma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults. |
limit | Số kết quả tối đa | integer | không | Max items per page (1-100). Min 1. Max 100. |
after | Con trỏ trang tiếp theo | string | không | Cursor for the next page, from paging.cursors.after of the previous call. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Danh sách kết quả | array of object | |
data[].id | string | ||
data[].title | string | ||
data[].description | string | ||
data[].created_time | string | ||
paging | Phân trang | object | |
paging.cursors | object |
Xem vai trò trên Page (Get Page roles) — facebook.get_page_roles
Lists people with a role on a Page and their tasks (MANAGE, CREATE_CONTENT, MODERATE, ADVERTISE, ANALYZE). Only returns people outside a business.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | pages_manage_metadata |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
limit | Số kết quả tối đa | integer | không | Max items per page (1-100). Min 1. Max 100. |
after | Con trỏ trang tiếp theo | string | không | Cursor for the next page, from paging.cursors.after of the previous call. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Danh sách kết quả | array of object | |
data[].id | string | ||
data[].name | string | ||
data[].is_active | boolean | ||
data[].tasks | array of string | ||
paging | Phân trang | object | |
paging.cursors | object |
Xem bài viết gắn thẻ Page (Get tagged posts) — facebook.get_page_tagged_posts
Lists posts in which the Page is tagged by other people or Pages. Supports paging; use get_post for full detail of one result.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | pages_read_engagement, pages_read_user_content |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
fields | Các trường cần lấy (fields) | string | không | Comma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults. |
limit | Số kết quả tối đa | integer | không | Max items per page (1-100). Min 1. Max 100. |
after | Con trỏ trang tiếp theo | string | không | Cursor for the next page, from paging.cursors.after of the previous call. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Danh sách kết quả | array of object | |
data[].id | string | ||
data[].message | string | ||
data[].created_time | string | ||
data[].permalink_url | string | ||
paging | Phân trang | object | |
paging.cursors | object |
Xem story của Page (List Page stories) — facebook.list_page_stories
Lists Page stories. status filters by PUBLISHED, ARCHIVED or similar; since/until bound the time range. Supports paging.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | pages_read_engagement, pages_read_user_content |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
status | Trạng thái | string | không | Story status filter: PUBLISHED or ARCHIVED. |
since | Từ thời điểm | string | không | Start of the time range: Unix time or ISO 8601 date, e.g. "2026-01-31". |
until | Đến thời điểm | string | không | End of the time range: Unix time or ISO 8601 date, e.g. "2026-02-28". |
limit | Số kết quả tối đa | integer | không | Max items per page (1-100). Min 1. Max 100. |
after | Con trỏ trang tiếp theo | string | không | Cursor for the next page, from paging.cursors.after of the previous call. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Danh sách kết quả | array of object | |
data[].post_id | string | ||
data[].status | string | ||
data[].creation_time | string | ||
data[].media_id | string | ||
data[].url | string | ||
paging | Phân trang | object | |
paging.cursors | object |
Tìm Page (Search Pages) — facebook.search_pages
Searches public Facebook Pages by keyword q and returns id, name and link. Requires Page Public Content Access on the app.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | pages_show_list, pages_read_engagement |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
q | Từ khóa tìm kiếm | string | có | Search keyword, e.g. "coffee hanoi". |
fields | Các trường cần lấy (fields) | string | không | Comma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults. |
limit | Số kết quả tối đa | integer | không | Max items per page (1-100). Min 1. Max 100. |
after | Con trỏ trang tiếp theo | string | không | Cursor for the next page, from paging.cursors.after of the previous call. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Danh sách kết quả | array of object | |
data[].id | string | ||
data[].name | string | ||
data[].link | string | ||
data[].location | object | ||
paging | Phân trang | object | |
paging.cursors | object |
Xem ảnh thu nhỏ của video (List video thumbnails) — facebook.list_video_thumbnails
Lists thumbnails of a Page video (id, uri, width, height, is_preferred). Use to pick the thumbnail before updating a video.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | pages_show_list, pages_read_engagement |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page that owns the video; only picks which Page token is used. From facebook.list_managed_pages. |
video_id | Mã video | string | có | Video id. From facebook.get_page_videos. |
limit | Số kết quả tối đa | integer | không | Max items per page (1-100). Min 1. Max 100. |
after | Con trỏ trang tiếp theo | string | không | Cursor for the next page, from paging.cursors.after of the previous call. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
data | Danh sách kết quả | array of object | |
data[].id | string | ||
data[].uri | string | ||
data[].width | integer | ||
data[].height | integer | ||
data[].is_preferred | boolean | ||
paging | Phân trang | object | |
paging.cursors | object |
Cập nhật thông tin Page (Update Page settings) — facebook.update_page_settings
Updates a Page's public profile: about, description, phone, website, emails. Waits for human approval; once approved the new text is visible publicly on the Page.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | high | có | không | pages_manage_metadata |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
about | Giới thiệu ngắn | string | không | Short About text shown on the Page. |
description | Mô tả | string | không | Longer Page description text. |
phone | Số điện thoại | string | không | Public phone number, e.g. "+84 912 345 678". |
website | Website | string | không | Website URL, e.g. "https://example.com". |
emails | Danh sách email | array of string | không | Public email addresses; replaces the current list. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
success | Thành công | boolean |
Phân quyền trên Page (Assign Page tasks) — facebook.assign_page_task
Grants a user tasks on a Page (MANAGE, CREATE_CONTENT, MODERATE, ADVERTISE, ANALYZE, MESSAGING). Waits for human approval; it changes who can act on the Page.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | high | có | không | pages_manage_metadata, business_management |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
user | Mã người dùng | string | có | Business-scoped user id or system user id to grant tasks to. |
tasks | Quyền (tasks) | array of string | có | Tasks to grant on the Page, e.g. ["MODERATE", "ANALYZE"]. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
success | Thành công | boolean |
Gỡ quyền trên Page (Remove Page tasks) — facebook.remove_page_task
Removes a user's tasks from a Page. Waits for human approval; the user loses access to the Page.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| WRITE | high | có | không | pages_manage_metadata, business_management |
Input
| Field | Nhãn | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|---|
page_id | Mã Page (ID) | string | có | Page id; also picks which connected Page token is used. From facebook.list_managed_pages. |
user | Mã người dùng | string | có | Business-scoped user id or system user id whose Page tasks are removed. |
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
success | Thành công | boolean |
Liệt kê các Page đang quản lý (List managed Pages) — facebook.list_managed_pages
Lists every Page the connected user manages (id, name, category, tasks), following all result pages. Page access tokens are never returned.
| Tác động | Rủi ro | Cần duyệt | Idempotent | Scopes |
|---|---|---|---|---|
| NONE | low | không | có | pages_show_list, pages_read_engagement |
Input
Không có input.
Field thêm: bỏ qua.
Output
| Field | Nhãn | Kiểu | Mô tả |
|---|---|---|---|
pages | Danh sách Page | array of object | |
pages[].id | string | ||
pages[].name | string | ||
pages[].category | string | ||
pages[].tasks | array of string |