Facebook post reactions

GET https://api.api.sh/facebook/v1/post/reactions
1 credit / call social try it in the playground →

Every response includes credits_used: the credits this call cost.

Reaction totals by type (like, love, care, haha, wow, sad, angry) and the reacting profiles Facebook lists publicly for a post (the first 10, or the first 10 of one type with type). Pass a post URL or the feedback_id from /facebook/v1/post.

Parameters

nametypedescription
url string Post URL. Example: https://www.facebook.com/NASA/posts/pfbid09brqCCTZ2tMaqk582QcQo83AgQoc3s9xE5H82qkMQBsNokX3knkXckksXddVNhxfl
feedback_id string feedback_id from /facebook/v1/post (instead of url).
type like | love | care | haha | wow | sad | angry Only reactors with this reaction.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/facebook/v1/post/reactions?url=https%3A%2F%2Fwww.facebook.com%2FNASA%2Fposts%2Fpfbid09brqCCTZ2tMaqk582QcQo83AgQoc3s9xE5H82qkMQBsNokX3knkXckksXddVNhxfl" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.