Skip to main content
GET
/
wf
/
facebook-post-details
cURL
curl --request GET \
  --url https://riona.ai/api/1.1/wf/facebook-post-details \
  --header 'Authorization: Bearer <token>'
{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "post": [
    {
      "postDetails": {
        "postID": "81221197163_1309864427166761",
        "postImage": "https://8cd4d13f-aa75-4a0c-abdb-0f388a983964.selstorage.ru/post_FB:81221197163_81221197163_1309864427166761?time=1756093622",
        "videoLink": "",
        "postUrl": "https://www.facebook.com/373400027479877/posts/1309864427166761",
        "dataId": "81221197163_81221197163_1309864427166761",
        "date": "02-04-2025",
        "dateISO": "2025-04-02T21:30:20.000Z",
        "likes": 245945,
        "dislikes": 0,
        "comments": 12129,
        "rePosts": 1916,
        "views": 0,
        "pollVotes": 0,
        "videoViews": 0,
        "type": "album",
        "types": [
          "album",
          "no_text"
        ],
        "hashTags": [],
        "text": "",
        "textLength": 0,
        "fromOwner": true,
        "isAd": false,
        "mentions": [],
        "mentionsText": []
      },
      "postStats": {
        "interactions": 259990,
        "er": 0.0015192202426073,
        "viewsER": 0,
        "videoViewsER": 0,
        "indexGrade": -2.04993481567548,
        "mainGrade": "d"
      }
    }
  ]
}
General Instructions:
  • The id masterID is required to get access to that Social Account posts.
  • At least one should be used: postID or postURL
  • Make sure you run Get Posts & Videos endpoint at least one time for the month the post was published in before using this endpoint.
  • Understanding Post Data Handling
  • You can check what months already being tracked first Check Tracked Posts
{
  "status": {
    "code": 200,
    "message": "OK"
  },
  "post": [
    {
      "postDetails": {
        "postID": "81221197163_1309864427166761",
        "postImage": "https://8cd4d13f-aa75-4a0c-abdb-0f388a983964.selstorage.ru/post_FB:81221197163_81221197163_1309864427166761?time=1756093622",
        "videoLink": "",
        "postUrl": "https://www.facebook.com/373400027479877/posts/1309864427166761",
        "dataId": "81221197163_81221197163_1309864427166761",
        "date": "02-04-2025",
        "dateISO": "2025-04-02T21:30:20.000Z",
        "likes": 245945,
        "dislikes": 0,
        "comments": 12129,
        "rePosts": 1916,
        "views": 0,
        "pollVotes": 0,
        "videoViews": 0,
        "type": "album",
        "types": [
          "album",
          "no_text"
        ],
        "hashTags": [],
        "text": "",
        "textLength": 0,
        "fromOwner": true,
        "isAd": false,
        "mentions": [],
        "mentionsText": []
      },
      "postStats": {
        "interactions": 259990,
        "er": 0.0015192202426073,
        "viewsER": 0,
        "videoViewsER": 0,
        "indexGrade": -2.04993481567548,
        "mainGrade": "d"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string
required

masterID: the id of the Social Account, to get this you need to call the endpoint Get Profile by URL OR Get User Account

includeProfile
boolean
default:false

If you would like to include Profile details, set this to true

postID
string

Example: postID 81221197163_1309864427166761 , To get this use this endpoint: Get User Posts

postURL
string

Example: postURL https://www.facebook.com/373400027479877/posts/1309864427166761 , To get this use this endpoint: Get User Posts

api_key
string
required

This is your account API Key. You can easily locate it in your account dashboard.

Response

200

OK