Facebook Scraping
Facebook Scraping API
The Facebook endpoints turn a public Facebook post, comment or photo URL into structured JSON. They work on public content only.
#Endpoints
| Endpoint | Returns | Credits |
|---|---|---|
POST /v1/facebook/post |
A page or group post with author, reactions, media, mentions and comments | 3 |
POST /v1/facebook/comment |
One comment or reply with its author, text and counts | 3 |
POST /v1/facebook/photo |
A photo with caption, author, reactions, tagged users and comments | 3 |
Base URL: https://scrapingapi.qoest.com
#Quick Example
curl -X POST https://scrapingapi.qoest.com/v1/facebook/post \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.facebook.com/examplepage/posts/1234567890"}'
#Good to Know
- Accepted hosts:
facebook.com,www.facebook.comandm.facebook.com. - Credits are deducted only when data is returned.
- Empty fields are left out of the response.
- Dates are ISO 8601 in UTC.
- A post Facebook reports as unavailable returns HTTP
200with amessageand noresponse, and costs nothing. Check forresponsebefore reading data.
See Get Facebook Post Data, Get Facebook Comment Data and Get Facebook Photo Data.