Posts on your Facebook Page with engagement counts
facebook.facebook.page.postsList the posts published on your Facebook Page with their engagement counts
- Price
- free제공업체 원가
- Success rate
- 100%Last 30 days · 194 calls
- Latency p50
- 320 msp95 1 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/facebook.facebook.page.postsPreview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
needs the Page token, which treg injects once this Page is selected on the connection; with the user token Meta answers code 190 / subcode 2069032 ('A Page access token is required for this call'). page_id must be the selected Page. /feed is the wider edge (it also includes posts by visitors); /posts is the Page's own
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 경로 파라미터 | ||||
page_id | 문자열 | 필수 | numeric id of the Page selected on the connection | 123456789012345 |
| 쿼리 파라미터 | ||||
limit | 정수 | 선택 | default 25 | 25 |
since | 문자열 | 선택 | Unix timestamp or YYYY-MM-DD | 2026-07-01 |
until | 문자열 | 선택 | ||
fields | 문자열 | 필수 | the .summary(true) suffixes turn the nested edges into counts instead of full lists | id,message,created_time,permalink_url,shares,comments.summary(true).limit(0),reactions.summary(true).limit(0) |
- 경로 파라미터
page_id문자열필수numeric id of the Page selected on the connection
예시:
123456789012345- 쿼리 파라미터
limit정수선택default 25
예시:
25since문자열선택Unix timestamp or YYYY-MM-DD
예시:
2026-07-01until문자열선택fields문자열필수the .summary(true) suffixes turn the nested edges into counts instead of full lists
예시:
id,message,created_time,permalink_url,shares,comments.summary(true).limit(0),reactions.summary(true).limit(0)
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X GET 'https://toolswitch.dev/v1/tools/facebook.facebook.page.posts' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/facebook.facebook.page.posts",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/facebook.facebook.page.posts", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 free이며 서비스 수수료가 포함되어 있습니다.