eternalsocial.dev
Facebook

Get Facebook profile information

POST
/api/facebook/profile

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

profileUrl*string
Formaturi
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/profile" \  -H "Content-Type: application/json" \  -d '{    "profileUrl": "https://www.facebook.com/meta"  }'
{
  "success": true,
  "requestId": "string",
  "data": {
    "id": "string",
    "username": "string",
    "displayName": "string",
    "avatar": "string",
    "followerCount": 0,
    "resolvedUrl": "string"
  },
  "itemCount": 0,
  "creditsCharged": 0
}
{
  "success": true,
  "requestId": "string",
  "status": "processing",
  "message": "string"
}
{
  "success": false,
  "error": "string",
  "requestId": "string"
}