Facebook
Facebook group.posts
List the posts of a Facebook group. Normalized JSON, one price per record, automatic failover across sources.
POST
/
v1
/
facebook
/
group.posts
curl -X POST https://api.socialrouter.io/v1/facebook/group.posts \
-H "Authorization: Bearer sr_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.facebook.com/groups/programmerspace",
"limit": 50
}'
const response = await fetch(
"https://api.socialrouter.io/v1/facebook/group.posts",
{
method: "POST",
headers: {
"Authorization": "Bearer sr_live_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://www.facebook.com/groups/programmerspace",
limit: 50
}),
},
);
import requests
response = requests.post(
"https://api.socialrouter.io/v1/facebook/group.posts",
headers={"Authorization": "Bearer sr_live_your_key"},
json={
"url": "https://www.facebook.com/groups/programmerspace",
"limit": 50
},
)
const run = await sr.run("facebook/group.posts", {
url: "https://www.facebook.com/groups/programmerspace",
limit: 50
});
{
"id": "ext_a1b2c3d4",
"status": "completed",
"platform": "facebook",
"service": "group.posts",
"url": "https://www.facebook.com/groups/programmerspace",
"served_by": "brightdata/facebook",
"data": [
{
"name": "Home Gym",
"profile_url": "https://www.facebook.com/groups/262681228448/posts/10162649053423449/",
"source": "facebook",
"extracted_at": "2026-07-16T09:03:53.261Z",
"post_id": "10162649053423449",
"shortcode": "10162649053423449",
"content": "A few pics from the basement. An ever evolving project which honestly is just as fun as working out 😊🇧🇻",
"date_posted": "2025-05-21T20:10:21.000Z",
"post_type": "Post",
"is_sponsored": false,
"likes": 125,
"num_comments": 33,
"num_shares": 4,
"top_reaction_count": 125,
"top_reaction_type": "Like",
"num_reaction_type": [
{
"type": "Like",
"num": "125"
},
"... 1 more"
],
"hashtags": [],
"author_name": "Roy Martin Rotevatn",
"author_url": "https://www.facebook.com/profile.php?id=524345329",
"author_id": "524345329",
"author_is_verified": false,
"author_image_url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-1/731588978_10164953750530330_2716063071047317218_n.jpg?stp=cp0_ds...",
"avatar_image_url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/617685198_122102054385219387_7660034125320000876_n.jpg?stp=c392....",
"group_id": "262681228448",
"group_name": "Home Gym",
"group_url": "https://www.facebook.com/groups/262681228448/",
"group_category": "Public group",
"group_logo": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/617685198_122102054385219387_7660034125320000876_n.jpg?stp=c392....",
"group_members": 438200,
"group_created_at": "2010-01-15T11:52:02.000Z",
"header_image": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/617685198_122102054385219387_7660034125320000876_n.jpg?stp=dst-j...",
"post_image": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/500038755_10162951336915330_61195699690261655_n.jpg?stp=dst-jpg_...",
"attachments": [
{
"id": "10162951323670330",
"type": "Photo",
"url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/500038755_10162951336915330_61195699690261655_n.jpg?stp=dst-jpg_...",
"attachment_url": "https://www.facebook.com/photo.php?fbid=10162951323670330&set=gm.10162649053413449&type=3",
"downloadable_url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/500038755_10162951336915330_61195699690261655_n.jpg?stp=dst-jpg_...",
"accessibility_caption": "No photo description available."
},
"... 4 more"
],
"other_posts_url": [],
"delegate_page_id": "686030037934889"
}
],
"pagination": {
"total": 1,
"returned": 1
},
"created_at": "2026-07-30T12:00:00Z",
"completed_at": "2026-07-30T12:00:03Z"
}
List the posts of a Facebook group. The response is normalized, so it keeps the same shape whichever offer served it.
The call is synchronous and comes back
Prices are live in the catalogue:
completed or failed. Body fields and error codes shared by every service are documented on Run a service.
Body
string[]
required
The URLs to fetch, as
urls (array) or url (single string). Each one must match an accepted format below, and a mismatch returns 400 invalid_input_format before any routing or billing.string
Single-input form of
urls.number
default:"100"
Maximum number of records to return. Integer, 1-250.
string
Pin one offer, as
source/name. Serving this service: brightdata/facebook. Omit it (the default) to let the router walk the failover chain.object
This service declares no options. Any key sent here returns a corrective
400.Accepted URL formats
| Format | Example |
|---|---|
https://www.facebook.com/groups/<group_id> | https://www.facebook.com/groups/programmerspace |
Offers
One offer serves this endpoint today. When a second one implements it, failover turns on with no change on your side.| Offer | Inputs per call |
|---|---|
brightdata/facebook | 1000 |
GET /v1/services/facebook/group.posts. See Credits for how a call is billed.
Response
data[] holds the normalized records, served_by names the offer that answered, and credits_used carries the actual charge.
The example response is a real run with values shortened for readability. A field is present when Facebook exposes it for that item, so the exact set varies record to record.
curl -X POST https://api.socialrouter.io/v1/facebook/group.posts \
-H "Authorization: Bearer sr_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.facebook.com/groups/programmerspace",
"limit": 50
}'
const response = await fetch(
"https://api.socialrouter.io/v1/facebook/group.posts",
{
method: "POST",
headers: {
"Authorization": "Bearer sr_live_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://www.facebook.com/groups/programmerspace",
limit: 50
}),
},
);
import requests
response = requests.post(
"https://api.socialrouter.io/v1/facebook/group.posts",
headers={"Authorization": "Bearer sr_live_your_key"},
json={
"url": "https://www.facebook.com/groups/programmerspace",
"limit": 50
},
)
const run = await sr.run("facebook/group.posts", {
url: "https://www.facebook.com/groups/programmerspace",
limit: 50
});
{
"id": "ext_a1b2c3d4",
"status": "completed",
"platform": "facebook",
"service": "group.posts",
"url": "https://www.facebook.com/groups/programmerspace",
"served_by": "brightdata/facebook",
"data": [
{
"name": "Home Gym",
"profile_url": "https://www.facebook.com/groups/262681228448/posts/10162649053423449/",
"source": "facebook",
"extracted_at": "2026-07-16T09:03:53.261Z",
"post_id": "10162649053423449",
"shortcode": "10162649053423449",
"content": "A few pics from the basement. An ever evolving project which honestly is just as fun as working out 😊🇧🇻",
"date_posted": "2025-05-21T20:10:21.000Z",
"post_type": "Post",
"is_sponsored": false,
"likes": 125,
"num_comments": 33,
"num_shares": 4,
"top_reaction_count": 125,
"top_reaction_type": "Like",
"num_reaction_type": [
{
"type": "Like",
"num": "125"
},
"... 1 more"
],
"hashtags": [],
"author_name": "Roy Martin Rotevatn",
"author_url": "https://www.facebook.com/profile.php?id=524345329",
"author_id": "524345329",
"author_is_verified": false,
"author_image_url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-1/731588978_10164953750530330_2716063071047317218_n.jpg?stp=cp0_ds...",
"avatar_image_url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/617685198_122102054385219387_7660034125320000876_n.jpg?stp=c392....",
"group_id": "262681228448",
"group_name": "Home Gym",
"group_url": "https://www.facebook.com/groups/262681228448/",
"group_category": "Public group",
"group_logo": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/617685198_122102054385219387_7660034125320000876_n.jpg?stp=c392....",
"group_members": 438200,
"group_created_at": "2010-01-15T11:52:02.000Z",
"header_image": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/617685198_122102054385219387_7660034125320000876_n.jpg?stp=dst-j...",
"post_image": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/500038755_10162951336915330_61195699690261655_n.jpg?stp=dst-jpg_...",
"attachments": [
{
"id": "10162951323670330",
"type": "Photo",
"url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/500038755_10162951336915330_61195699690261655_n.jpg?stp=dst-jpg_...",
"attachment_url": "https://www.facebook.com/photo.php?fbid=10162951323670330&set=gm.10162649053413449&type=3",
"downloadable_url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/500038755_10162951336915330_61195699690261655_n.jpg?stp=dst-jpg_...",
"accessibility_caption": "No photo description available."
},
"... 4 more"
],
"other_posts_url": [],
"delegate_page_id": "686030037934889"
}
],
"pagination": {
"total": 1,
"returned": 1
},
"created_at": "2026-07-30T12:00:00Z",
"completed_at": "2026-07-30T12:00:03Z"
}
Previous
marketplace.listingsFetch a Facebook marketplace listing from its URL. Normalized JSON, one price per record, automatic failover across sources.
Next
⌘I
curl -X POST https://api.socialrouter.io/v1/facebook/group.posts \
-H "Authorization: Bearer sr_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.facebook.com/groups/programmerspace",
"limit": 50
}'
const response = await fetch(
"https://api.socialrouter.io/v1/facebook/group.posts",
{
method: "POST",
headers: {
"Authorization": "Bearer sr_live_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://www.facebook.com/groups/programmerspace",
limit: 50
}),
},
);
import requests
response = requests.post(
"https://api.socialrouter.io/v1/facebook/group.posts",
headers={"Authorization": "Bearer sr_live_your_key"},
json={
"url": "https://www.facebook.com/groups/programmerspace",
"limit": 50
},
)
const run = await sr.run("facebook/group.posts", {
url: "https://www.facebook.com/groups/programmerspace",
limit: 50
});
{
"id": "ext_a1b2c3d4",
"status": "completed",
"platform": "facebook",
"service": "group.posts",
"url": "https://www.facebook.com/groups/programmerspace",
"served_by": "brightdata/facebook",
"data": [
{
"name": "Home Gym",
"profile_url": "https://www.facebook.com/groups/262681228448/posts/10162649053423449/",
"source": "facebook",
"extracted_at": "2026-07-16T09:03:53.261Z",
"post_id": "10162649053423449",
"shortcode": "10162649053423449",
"content": "A few pics from the basement. An ever evolving project which honestly is just as fun as working out 😊🇧🇻",
"date_posted": "2025-05-21T20:10:21.000Z",
"post_type": "Post",
"is_sponsored": false,
"likes": 125,
"num_comments": 33,
"num_shares": 4,
"top_reaction_count": 125,
"top_reaction_type": "Like",
"num_reaction_type": [
{
"type": "Like",
"num": "125"
},
"... 1 more"
],
"hashtags": [],
"author_name": "Roy Martin Rotevatn",
"author_url": "https://www.facebook.com/profile.php?id=524345329",
"author_id": "524345329",
"author_is_verified": false,
"author_image_url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-1/731588978_10164953750530330_2716063071047317218_n.jpg?stp=cp0_ds...",
"avatar_image_url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/617685198_122102054385219387_7660034125320000876_n.jpg?stp=c392....",
"group_id": "262681228448",
"group_name": "Home Gym",
"group_url": "https://www.facebook.com/groups/262681228448/",
"group_category": "Public group",
"group_logo": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/617685198_122102054385219387_7660034125320000876_n.jpg?stp=c392....",
"group_members": 438200,
"group_created_at": "2010-01-15T11:52:02.000Z",
"header_image": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/617685198_122102054385219387_7660034125320000876_n.jpg?stp=dst-j...",
"post_image": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/500038755_10162951336915330_61195699690261655_n.jpg?stp=dst-jpg_...",
"attachments": [
{
"id": "10162951323670330",
"type": "Photo",
"url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/500038755_10162951336915330_61195699690261655_n.jpg?stp=dst-jpg_...",
"attachment_url": "https://www.facebook.com/photo.php?fbid=10162951323670330&set=gm.10162649053413449&type=3",
"downloadable_url": "https://scontent.fltn3-2.fna.fbcdn.net/v/t39.30808-6/500038755_10162951336915330_61195699690261655_n.jpg?stp=dst-jpg_...",
"accessibility_caption": "No photo description available."
},
"... 4 more"
],
"other_posts_url": [],
"delegate_page_id": "686030037934889"
}
],
"pagination": {
"total": 1,
"returned": 1
},
"created_at": "2026-07-30T12:00:00Z",
"completed_at": "2026-07-30T12:00:03Z"
}