List Facebook group posts
curl --request GET \
--url https://api.aisa.one/apis/v1/facebook/groups/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/facebook/groups/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/facebook/groups/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/facebook/groups/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/facebook/groups/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/facebook/groups/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/facebook/groups/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"lookupStatus": "found",
"page": {
"hasMore": true,
"nextCursor": "AQHSI_Y-E7fHdjuJkubTi0H2KCC-SaGjHJubNMx_GKU6DohMBDddHgUSNK_SMGm8gqyIU4XU7RmGQjDOO5IHMpoe7g:eyIwIjoxNzc5MDAyMDc2LCIxIjo3NjgyLCIzIjowLCI0IjoxLCI1Ijo0LCI2IjowfQ=="
},
"posts": [
{
"author": {
"id": "100072565869635",
"name": "Hancho Red",
"url": null
},
"commentCount": 36,
"id": "1568777534579662",
"publishedAt": "2026-05-17T03:35:10.000Z",
"reactionCount": 73,
"text": "Who hit granny 🤔\n#fight",
"url": "https://www.facebook.com/groups/742354120555345/permalink/1568777534579662/",
"video": {
"durationMs": null,
"hdUrl": "https://video-lga3-1.xx.fbcdn.net/o1/v/t2/f2/m366/AQOMe0QD0jm2RdFZ0gdHTZ1UscynH93C8M3g5RIjiN6-u8fkimEglJHLmzSZq-CF82pXbwFfApk-PevO5pG2Z-IXcuRYm-7IGJ8p-qzGQqM51…",
"sdUrl": "https://video-lga3-1.xx.fbcdn.net/o1/v/t2/f2/m412/AQP-M-zwRu8SDps7AtugfGzyLHoVbr9RIVsfT74jmKz-jR0e1H6NbO27ghP_ol4PfyZDhkSW1WDs5oQQ4miSTMyAi0JPOmaqTSEMRp9ciQ.mp…",
"thumbnailUrl": "https://scontent-lga3-2.xx.fbcdn.net/v/t15.5256-10/700118977_1018748580482065_1794802588333604144_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=101&ccb=1-7&_nc_sid=50…"
}
},
{
"author": {
"id": "100081860143756",
"name": "P-la Nkanyiso Nxele",
"url": null
},
"commentCount": 739,
"id": "1566390568151692",
"publishedAt": "2026-05-14T09:29:33.000Z",
"reactionCount": 2241,
"text": "😩😩😩👊🏾 Damn.",
"url": "https://www.facebook.com/groups/742354120555345/permalink/1566390568151692/",
"video": {
"durationMs": null,
"hdUrl": null,
"sdUrl": "https://video-lga3-3.xx.fbcdn.net/o1/v/t2/f2/m412/AQNGlmfD2g43b8-ajJMQ0AfuSP5kyxGjHtjuoI3dmnxfiuVReneklyoTkXwTssiEeul_2amXbF9GUZ7D_tVjynnoVcH6Gbf7jgLJsWkwkQ.mp…",
"thumbnailUrl": "https://scontent-lga3-1.xx.fbcdn.net/v/t15.5256-10/699396991_2759158251144000_1056991297185105477_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=50ce42&_nc_ohc=67EadXVu4UoQ…"
}
}
]
},
"meta": {
"creditsCharged": 1,
"requestId": "req_194dbec3-8a04-4fc3-b221-2c0471a1208d",
"version": "v1"
}
}Facebook
List Facebook group posts
Lists posts from a Facebook group by group URL. Required input: url. Results are paged: while data.page.hasMore is true, send data.page.nextCursor as cursor to get the next page.
GET
https://api.aisa.one
/
apis
/
v1
/
facebook
/
groups
/
posts
List Facebook group posts
curl --request GET \
--url https://api.aisa.one/apis/v1/facebook/groups/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/facebook/groups/posts"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/facebook/groups/posts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/facebook/groups/posts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/facebook/groups/posts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/facebook/groups/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/facebook/groups/posts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"lookupStatus": "found",
"page": {
"hasMore": true,
"nextCursor": "AQHSI_Y-E7fHdjuJkubTi0H2KCC-SaGjHJubNMx_GKU6DohMBDddHgUSNK_SMGm8gqyIU4XU7RmGQjDOO5IHMpoe7g:eyIwIjoxNzc5MDAyMDc2LCIxIjo3NjgyLCIzIjowLCI0IjoxLCI1Ijo0LCI2IjowfQ=="
},
"posts": [
{
"author": {
"id": "100072565869635",
"name": "Hancho Red",
"url": null
},
"commentCount": 36,
"id": "1568777534579662",
"publishedAt": "2026-05-17T03:35:10.000Z",
"reactionCount": 73,
"text": "Who hit granny 🤔\n#fight",
"url": "https://www.facebook.com/groups/742354120555345/permalink/1568777534579662/",
"video": {
"durationMs": null,
"hdUrl": "https://video-lga3-1.xx.fbcdn.net/o1/v/t2/f2/m366/AQOMe0QD0jm2RdFZ0gdHTZ1UscynH93C8M3g5RIjiN6-u8fkimEglJHLmzSZq-CF82pXbwFfApk-PevO5pG2Z-IXcuRYm-7IGJ8p-qzGQqM51…",
"sdUrl": "https://video-lga3-1.xx.fbcdn.net/o1/v/t2/f2/m412/AQP-M-zwRu8SDps7AtugfGzyLHoVbr9RIVsfT74jmKz-jR0e1H6NbO27ghP_ol4PfyZDhkSW1WDs5oQQ4miSTMyAi0JPOmaqTSEMRp9ciQ.mp…",
"thumbnailUrl": "https://scontent-lga3-2.xx.fbcdn.net/v/t15.5256-10/700118977_1018748580482065_1794802588333604144_n.jpg?stp=dst-jpg_s960x960_tt6&_nc_cat=101&ccb=1-7&_nc_sid=50…"
}
},
{
"author": {
"id": "100081860143756",
"name": "P-la Nkanyiso Nxele",
"url": null
},
"commentCount": 739,
"id": "1566390568151692",
"publishedAt": "2026-05-14T09:29:33.000Z",
"reactionCount": 2241,
"text": "😩😩😩👊🏾 Damn.",
"url": "https://www.facebook.com/groups/742354120555345/permalink/1566390568151692/",
"video": {
"durationMs": null,
"hdUrl": null,
"sdUrl": "https://video-lga3-3.xx.fbcdn.net/o1/v/t2/f2/m412/AQNGlmfD2g43b8-ajJMQ0AfuSP5kyxGjHtjuoI3dmnxfiuVReneklyoTkXwTssiEeul_2amXbF9GUZ7D_tVjynnoVcH6Gbf7jgLJsWkwkQ.mp…",
"thumbnailUrl": "https://scontent-lga3-1.xx.fbcdn.net/v/t15.5256-10/699396991_2759158251144000_1056991297185105477_n.jpg?_nc_cat=111&ccb=1-7&_nc_sid=50ce42&_nc_ohc=67EadXVu4UoQ…"
}
}
]
},
"meta": {
"creditsCharged": 1,
"requestId": "req_194dbec3-8a04-4fc3-b221-2c0471a1208d",
"version": "v1"
}
}
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。
请求规范
- 方法与路径: GET /apis/v1/facebook/groups/posts
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/facebook/groups/posts - cursor: query; 可选
- sortBy: query; 可选
- url: query; 必填
{
"operationId": "facebook.groups.posts",
"method": "GET",
"path": "/apis/v1/facebook/groups/posts",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "cursor",
"required": false,
"schema": {
"description": "Opaque pagination cursor from a previous response.",
"maxLength": 16384,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "sortBy",
"required": false,
"schema": {
"description": "Optional sort order for posts returned from the group feed. `top`: Facebook's default relevance ranking. `recentActivity`: sorted by most recent comment/reaction activity. `chronological`: regular posts in Facebook's \"New posts\" order, which is not guaranteed to be strictly by post time (e.g. groups with post approval); use `publishedAt` to sort. `chronologicalListings`: Facebook's separate feed of listing-style posts (e.g. items for sale) within the group, sorted by time.",
"enum": [
"chronological",
"chronologicalListings",
"recentActivity",
"top"
],
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "url",
"required": true,
"schema": {
"description": "Public Facebook group URL whose posts should be listed.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
已观察到的响应结构
以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。- HTTP 状态 / 最近观察日期: 200 / 2026-11-26
{
"additionalProperties": true,
"properties": {
"aisa_pagination": {
"additionalProperties": true,
"properties": {
"has_more": {
"type": "boolean"
},
"next_cursor": {
"type": [
"null",
"string"
]
},
"next_param": {
"type": "string"
}
},
"type": "object"
},
"data": {
"additionalProperties": true,
"properties": {
"page": {
"additionalProperties": true,
"properties": {
"hasMore": {
"type": "boolean"
},
"nextCursor": {
"type": [
"null",
"string"
]
}
},
"type": "object"
},
"posts": {
"items": {
"additionalProperties": true,
"properties": {
"author": {
"additionalProperties": true,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"url": {
"type": "null"
}
},
"type": "object"
},
"id": {
"type": "string"
},
"publishedAt": {
"type": "string"
},
"text": {
"type": [
"null",
"string"
]
},
"url": {
"type": "string"
},
"video": {
"additionalProperties": true,
"properties": {
"thumbnailUrl": {
"type": "null"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"meta": {
"additionalProperties": true,
"properties": {
"version": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.014 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。翻页
- 把
aisa_pagination.next_cursor作为cursor(查询参数)传入即可获取下一页;aisa_pagination.has_more为 false 时停止。 - 响应头
X-AISA-Has-More与X-AISA-Next-Cursor返回相同的值。
授权
查询参数
Optional sort order for posts returned from the group feed. top: Facebook's default relevance ranking. recentActivity: sorted by most recent comment/reaction activity. chronological: regular posts in Facebook's "New posts" order, which is not guaranteed to be strictly by post time (e.g. groups with post approval); use publishedAt to sort. chronologicalListings: Facebook's separate feed of listing-style posts (e.g. items for sale) within the group, sorted by time.
可用选项:
chronological, chronologicalListings, recentActivity, top Required string length:
1 - 4096响应
Group posts for the requested feed.
Standard success response envelope.