Skip to main content
GET
/
v1
/
scrape
/
facebook
/
group
/
posts
Facebook Group Posts
curl --request GET \
  --url https://api.sociavault.com/v1/scrape/facebook/group/posts \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": {
    "success": true,
    "posts": {
      "0": {
        "id": "2065680910795061",
        "text": "A best meat with cabbage ,\nu cant say chicken\n🥬🍗",
        "url": "https://www.facebook.com/groups/homemakingtips/permalink/2065680910795061/",
        "author": {
          "__typename": "User",
          "name": "Lika Tegerashvili",
          "short_name": "Lika",
          "id": "100000243267830"
        },
        "reactionCount": 132,
        "commentCount": 555,
        "videoViewCount": null,
        "publishTime": 1770575531,
        "videoDetails": {},
        "image": null,
        "topComments": {
          "0": {
            "id": "Y29tbWVudDoyMDY1NjgwOTEwNzk1MDYxXzIwNjU2ODM0MTQxMjgxNDQ=",
            "text": "Kielbasa",
            "publishTime": 1770575681,
            "author": {
              "id": "100006021391971",
              "name": "Amanda May",
              "gender": "FEMALE",
              "url": "https://www.facebook.com/amanda.may.500888"
            }
          },
          "1": {
            "id": "Y29tbWVudDoyMDY1NjgwOTEwNzk1MDYxXzIwNjU2ODE4MDc0NjE2Mzg=",
            "text": "Corned beef",
            "publishTime": 1770575588,
            "author": {
              "id": "pfbid06kUd2diqssEkUULC5Q8qxuUoZmqsvZujCdc4b24D6dQCAh8gsSRTx4Rj913rnXpFl",
              "name": "Charlotte Thompson Kinney",
              "gender": "FEMALE",
              "url": null
            }
          }
        }
      }
    },
    "cursor": "AQHSk-p4_xKX_EqTd5AwLOG_GmDv6rSAsi4N7pjShqH8i1zOF_euxbOLjh6X8xdu5XCgOupii6egno8omJ931I50Yw:eyIwIjoxNzcwNTkzNDk0LCIxIjo3NjgyLCIzIjowLCI0IjoxLCI1Ijo0LCI2IjowfQ=="
  },
  "credits_used": 1,
  "endpoint": "facebook/group/posts"
}
💳 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

url
string

The URL of the group

Example:

"https://www.facebook.com/groups/homemakingtips/"

group_id
string

The ID of the group

Example:

"742354120555345"

sort_by
enum<string>

How to sort the posts

Available options:
TOP_POSTS,
RECENT_ACTIVITY,
CHRONOLOGICAL,
CHRONOLOGICAL_LISTINGS
Example:

"TOP_POSTS"

cursor
string

The cursor to paginate to the next page

Example:

"AQHRBjJCelNvdGRjH8s2j-6..."

Response

Successful response