PeumeAPI

Social media data · Facebook

Facebook group posts by URL or group id

Fetches posts from a public Facebook group, limited to 3 posts per page due to API limitations.

$0.0028 per call

Call it

curl https://api.peume.com/v1/call/facebook-group-posts-by-url-or-group-id \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "https://www.facebook.com/groups/1270525996445602/",
    "group_id": "742354120555345",
    "sort_by": "TOP_POSTS",
    "cursor": "AQHRBjJCelNvdGRjH8s2j-6..."
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: facebook-group-posts-by-url-or-group-id.

Parameters

urlstring

The URL of the group

Example: https://www.facebook.com/groups/1270525996445602/

group_idstring

The ID of the group

Example: 742354120555345

sort_bystring

How to sort the posts

Example: TOP_POSTS

cursorstring

The cursor to paginate to the next page

Example: AQHRBjJCelNvdGRjH8s2j-6...

Other ways to do it

Same job, other sources, cheapest first.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.