eternalsocial.dev
Facebook

Get Facebook reels from a profile

POST
/api/facebook/reels

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from /auth/login or API key from /keys

In: header

Request Body

application/json

profileUrl*string
Formaturi
maxPosts?number
Default10
Range1 <= value <= 1000
oldestDate?number
webhookUrl?string

Webhook URL to receive results. If provided, request returns immediately.

Formaturi

Response Body

application/json

application/json

application/json

curl -X POST "http://localhost:3222/api/facebook/reels" \  -H "Content-Type: application/json" \  -d '{    "profileUrl": "https://www.facebook.com/meta",    "maxPosts": 10  }'
{
  "success": true,
  "requestId": "string",
  "data": {
    "reels": [
      {
        "id": "string",
        "postId": "string",
        "thumbnailUrl": "string",
        "videoUrl": "string",
        "stats": {
          "viewCount": 0,
          "likeCount": 0,
          "commentCount": 0,
          "shareCount": 0
        },
        "timestamp": 0,
        "caption": "string"
      }
    ],
    "profile": {
      "id": "string",
      "username": "string",
      "displayName": "string",
      "avatar": "string",
      "followerCount": 0,
      "resolvedUrl": "string"
    },
    "accountStatus": "active"
  },
  "itemCount": 0,
  "creditsCharged": 0
}
{
  "success": true,
  "requestId": "string",
  "status": "processing",
  "message": "string"
}
{
  "success": false,
  "error": "string",
  "requestId": "string"
}