Skip to content

Facebook — Pages ​

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyespages_show_list, pages_read_engagement

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
fieldsstringnoComma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults.

Extra fields: ignored.

Output

FieldTypeDescription
idstring
namestring
categorystring
aboutstring
fan_countinteger
linkstring

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyesread_insights, pages_read_engagement

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
metricstringyesComma-separated metric names, e.g. "page_impressions,page_post_engagements".
periodstringnoAggregation period of the metric values. One of: day, week, days_28, month, lifetime, total_over_range.
sincestringnoStart of the time range: Unix time or ISO 8601 date, e.g. "2026-01-31".
untilstringnoEnd of the time range: Unix time or ISO 8601 date, e.g. "2026-02-28".

Extra fields: ignored.

Output

FieldTypeDescription
dataarray of object
data[].idstring
data[].namestring
data[].periodstring
data[].valuesarray
pagingobject
paging.cursorsobject

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyespages_show_list, pages_read_engagement

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
typestringnoWhich photos to list: uploaded by the Page, tagged with it, or profile photos. One of: uploaded, tagged, profile.
fieldsstringnoComma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults.
limitintegernoMax items per page (1-100). Min 1. Max 100.
afterstringnoCursor for the next page, from paging.cursors.after of the previous call.

Extra fields: ignored.

Output

FieldTypeDescription
dataarray of object
data[].idstring
data[].namestring
data[].created_timestring
data[].linkstring
pagingobject
paging.cursorsobject

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyespages_read_engagement, pages_read_user_content

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
fieldsstringnoComma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults.
sincestringnoStart of the time range: Unix time or ISO 8601 date, e.g. "2026-01-31".
untilstringnoEnd of the time range: Unix time or ISO 8601 date, e.g. "2026-02-28".
limitintegernoMax items per page (1-100). Min 1. Max 100.
afterstringnoCursor for the next page, from paging.cursors.after of the previous call.

Extra fields: ignored.

Output

FieldTypeDescription
dataarray of object
data[].idstring
data[].messagestring
data[].created_timestring
data[].permalink_urlstring
pagingobject
paging.cursorsobject

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyespages_show_list, pages_read_engagement

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
fieldsstringnoComma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults.
limitintegernoMax items per page (1-100). Min 1. Max 100.
afterstringnoCursor for the next page, from paging.cursors.after of the previous call.

Extra fields: ignored.

Output

FieldTypeDescription
dataarray of object
data[].idstring
data[].titlestring
data[].descriptionstring
data[].created_timestring
pagingobject
paging.cursorsobject

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyespages_manage_metadata

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
limitintegernoMax items per page (1-100). Min 1. Max 100.
afterstringnoCursor for the next page, from paging.cursors.after of the previous call.

Extra fields: ignored.

Output

FieldTypeDescription
dataarray of object
data[].idstring
data[].namestring
data[].is_activeboolean
data[].tasksarray of string
pagingobject
paging.cursorsobject

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyespages_read_engagement, pages_read_user_content

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
fieldsstringnoComma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults.
limitintegernoMax items per page (1-100). Min 1. Max 100.
afterstringnoCursor for the next page, from paging.cursors.after of the previous call.

Extra fields: ignored.

Output

FieldTypeDescription
dataarray of object
data[].idstring
data[].messagestring
data[].created_timestring
data[].permalink_urlstring
pagingobject
paging.cursorsobject

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyespages_read_engagement, pages_read_user_content

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
statusstringnoStory status filter: PUBLISHED or ARCHIVED.
sincestringnoStart of the time range: Unix time or ISO 8601 date, e.g. "2026-01-31".
untilstringnoEnd of the time range: Unix time or ISO 8601 date, e.g. "2026-02-28".
limitintegernoMax items per page (1-100). Min 1. Max 100.
afterstringnoCursor for the next page, from paging.cursors.after of the previous call.

Extra fields: ignored.

Output

FieldTypeDescription
dataarray of object
data[].post_idstring
data[].statusstring
data[].creation_timestring
data[].media_idstring
data[].urlstring
pagingobject
paging.cursorsobject

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyespages_show_list, pages_read_engagement

Input

FieldTypeRequiredDescription
qstringyesSearch keyword, e.g. "coffee hanoi".
fieldsstringnoComma-separated Graph fields to return, e.g. "id,name"; empty uses the defaults.
limitintegernoMax items per page (1-100). Min 1. Max 100.
afterstringnoCursor for the next page, from paging.cursors.after of the previous call.

Extra fields: ignored.

Output

FieldTypeDescription
dataarray of object
data[].idstring
data[].namestring
data[].linkstring
data[].locationobject
pagingobject
paging.cursorsobject

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyespages_show_list, pages_read_engagement

Input

FieldTypeRequiredDescription
page_idstringyesPage that owns the video; only picks which Page token is used. From facebook.list_managed_pages.
video_idstringyesVideo id. From facebook.get_page_videos.
limitintegernoMax items per page (1-100). Min 1. Max 100.
afterstringnoCursor for the next page, from paging.cursors.after of the previous call.

Extra fields: ignored.

Output

FieldTypeDescription
dataarray of object
data[].idstring
data[].uristring
data[].widthinteger
data[].heightinteger
data[].is_preferredboolean
pagingobject
paging.cursorsobject

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.

Side effectRiskNeeds approvalIdempotentScopes
WRITEhighyesnopages_manage_metadata

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
aboutstringnoShort About text shown on the Page.
descriptionstringnoLonger Page description text.
phonestringnoPublic phone number, e.g. "+84 912 345 678".
websitestringnoWebsite URL, e.g. "https://example.com".
emailsarray of stringnoPublic email addresses; replaces the current list.

Extra fields: ignored.

Output

FieldTypeDescription
successboolean

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.

Side effectRiskNeeds approvalIdempotentScopes
WRITEhighyesnopages_manage_metadata, business_management

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
userstringyesBusiness-scoped user id or system user id to grant tasks to.
tasksarray of stringyesTasks to grant on the Page, e.g. ["MODERATE", "ANALYZE"].

Extra fields: ignored.

Output

FieldTypeDescription
successboolean

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.

Side effectRiskNeeds approvalIdempotentScopes
WRITEhighyesnopages_manage_metadata, business_management

Input

FieldTypeRequiredDescription
page_idstringyesPage id; also picks which connected Page token is used. From facebook.list_managed_pages.
userstringyesBusiness-scoped user id or system user id whose Page tasks are removed.

Extra fields: ignored.

Output

FieldTypeDescription
successboolean

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.

Side effectRiskNeeds approvalIdempotentScopes
NONElownoyespages_show_list, pages_read_engagement

Input

No input.

Extra fields: ignored.

Output

FieldTypeDescription
pagesarray of object
pages[].idstring
pages[].namestring
pages[].categorystring
pages[].tasksarray of string