Skip to main content
Glama

Douyin Scraper - Profiles, Videos, Comments and Trending

Facebook Page Posts

get_facebook_page_posts
Read-onlyIdempotent

Public posts of any Facebook page, no login: text, date, link, total reactions and each type, comments, shares, photo and video links, author, links, hashtags and mentions in the text, link preview, top comment, video length, tagged place, shared post, page name and followers. Optional free summary per page (averages, engagement by post type, posts per week, best post, busiest hours). Use for the posts of one known Facebook page; to find posts, pages or groups by keyword use search_facebook. Returns {items: [...]} with one object per result, for example: {"postId":"1696522545176448","url":"https://www.facebook.com/reel/2688015701636592/","text":"Happy Thanksgiving from the International Space Station!","time":"2026-11-23T19:00:45Z","reactionsCount":424,"reactions":{"like":339,"love":71,"care":10},"commentsCount":31,"sharesCount":63,"pageName":"NASA - National Aeronautics and Space Administration"} Large requests return nextCursor: call again with only cursor to get the next page. Cost: pay per result with an Apify token (prices on apify.com/pomlabs), or US$ 0.05 per call with x402 (up to 30 posts). Read-only: it only reads public data.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_facebook_page_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoMaximum posts per page (1-50, default 10). Newest first, pinned post left out.
pageNoFacebook page links, names or numeric ids. Comma-separate several (max 3). Page or post is required.
postNoLinks to single posts, photos, videos or reels (max 3): you get their comments.
sortNoComment order: relevant (default), newest or all, as in the post comment menu.
sinceNoOnly posts newer than this: a date (2026-11-01) or "7 days", "2 weeks", "1 month".
untilNoOnly posts older than this (same formats); with since, a date window. Skipped posts are free.
cursorNoNext page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.
detailsNoAdd one row per page with its details: bio, categories, e-mails, phones, WhatsApp, address, websites and social links, rating, price range, services, verified badge, followers (charged per page; default false). With max=0, the page details only.
onlyNewNoOnly posts published since your last call for the same page and stateKey; posts you already got are never charged again (default false).
repliesNoAdd the replies, and the replies to them ("type": "reply"), with the comment they answer (default false).
summaryNoAdd one free summary row per page: totals and averages, engagement by post type, posts per week, best post, top hashtags, busiest hours and days (default false).
commentsNoAdd the comments of each post, one row each ("type": "comment"): text, date, author name, link and photo, likes, number of replies, links and mentions, comment link (default false).
coverageNoAdd one free row per page (type page_coverage) saying why reading stopped (date_reached, end_of_timeline, page_max_reached, run_max_reached...) and whether the date window was read to the end (complete) (default false).
maxTotalNoMost posts for the whole call, across all pages (optional); pages after it are skipped for free.
stateKeyNoWith onlyNew: a name you choose for this monitor (letters, numbers, - and _; up to 60), so each of your monitors keeps its own place. Pick one only you use.
transcriptNoFor video posts, the captions as text and with times (videoTranscript, transcriptSegments), when the video has captions; free (default false).
commentsMaxNoMaximum comments and replies per post (1-30, default 10). With comments, up to 3 posts per call; for more, use the Apify Actor.
commentsSinceNoOnly comments newer than this: a date (2026-11-01) or "7 days". Older ones are skipped and free.
transcriptLanguageNoPreferred caption language when a video has several (en, pt, Spanish...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover safety (readOnly, destructive=false, idempotent, openWorld), and the description goes well beyond them with the commercial model: pay-per-result with an Apify token or US$0.05 per call via x402, free rows for summaries and coverage, and uncharged skipped posts. Credential requirements, paging limits and the 24-hour cursor are all surfaced before the agent commits to a call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and the sibling routing before any detail, and the long field enumeration is justified because there is no output schema. The inline JSON example is the bulkiest element but earns its space by showing the actual response shape; a few enumerated fields (hashtags, tagged place, video length) could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 19-parameter tool with no output schema, this covers everything an agent needs: purpose, alternative, auth and cost, pagination and resume semantics, and a concrete sample of the return object. The only notable absence, error behavior for invalid pages, is a marginal gap at this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning on top: it explains what the optional summary row contains, what the returned object per result looks like, and the cursor-only resume pattern. It stops short of interpreting most of the 19 parameters, which the schema already handles well.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource and scope: "Public posts of any Facebook page, no login" — the no-login constraint alone disambiguates it from most scraping siblings. It then names the sibling to use instead when the task is discovery rather than retrieval (search_facebook).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the selecting condition explicitly: "Use for the posts of one known Facebook page; to find posts, pages or groups by keyword use search_facebook." It also gives operational guidance for follow-up calls ("call again with only cursor to get the next page"), so the agent knows both when to pick this tool and how to continue a paged read.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.