Facebook group posts by URL or group id
scrapecreators.x.v1-facebook-group-postsFetches posts from a public Facebook group, limited to 3 posts per page due to API limitations.
- Price
- $0.00188/callプロバイダー原価
- Success rate
- 98.3%Last 30 days · 5,284 calls
- Latency p50
- 3.9 sp95 13 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-group-posts?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1270525996445602%2FPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
url | 文字列 | 任意 | The URL of the group | https://www.facebook.com/groups/1270525996445602/ |
cursor | 文字列 | 任意 | The cursor to paginate to the next page | AQHRBjJCelNvdGRjH8s2j-6... |
sort_by | 文字列 | 任意 | How to sort the posts | TOP_POSTS |
group_id | 文字列 | 任意 | The ID of the group | 742354120555345 |
- クエリパラメータ
url文字列任意The URL of the group
例:
https://www.facebook.com/groups/1270525996445602/cursor文字列任意The cursor to paginate to the next page
例:
AQHRBjJCelNvdGRjH8s2j-6...sort_by文字列任意How to sort the posts
例:
TOP_POSTSgroup_id文字列任意The ID of the group
例:
742354120555345
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-group-posts?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1270525996445602%2F' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-group-posts?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1270525996445602%2F",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-group-posts?url=https%3A%2F%2Fwww.facebook.com%2Fgroups%2F1270525996445602%2F", {
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 や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00188/call です。サービス料を含みます。