meta_graph_facebook_posts

Pack: meta-graph · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/meta_graph_facebook_posts for the schema, then POST the same URL with its arguments for the data.

ANSWERS “what has posted recently”, “how much engagement do its posts get”, lists posts on a Facebook Page, newest first: post ID, text, permalink, created time, reaction count, comment count and share count. Pages with after. Not returned: author profile, media files, reaction breakdown by type, view counts; share count is absent when Meta reports none.

Parameters

NameTypeRequiredDescription
pagestringyesFacebook Page ID or username.
limitnumbernoPosts per page, 1-100 (default 25).
afterstringnoThe next_cursor from a previous response.
_apiKeystringnoYour Meta access token (BYO).

Example call

Arguments

{
  "page": "nasa",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/meta-graph/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"meta_graph_facebook_posts","arguments":{"page":"nasa","limit":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('meta_graph_facebook_posts', {
  "page": "nasa",
  "limit": 5
});

Response shape

Always returns: source, count, posts, next_cursor, has_next_page, not_available

FieldTypeDescription
sourcestringPublisher and dataset
countnumberPosts in this page of results
postsarrayPosts on the Page, newest first
next_cursorstring | nullCursor to pass as after for the next page, or null when there is no further page
has_next_pagebooleanWhether another page exists
not_availablearrayFields a caller may expect that this API does not provide
notestringPresent only when no posts were returned
Full JSON Schema
{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "description": "Publisher and dataset"
    },
    "count": {
      "type": "number",
      "description": "Posts in this page of results"
    },
    "posts": {
      "type": "array",
      "description": "Posts on the Page, newest first",
      "items": {
        "type": "object",
        "properties": {
          "post_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Post ID"
          },
          "text": {
            "type": [
              "string",
              "null"
            ],
            "description": "Post text; null for posts without text"
          },
          "permalink": {
            "type": [
              "string",
              "null"
            ],
            "description": "Post URL"
          },
          "created_time": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the post was created"
          },
          "reaction_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "Total reactions"
          },
          "comment_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "Total comments"
          },
          "share_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "Shares; null when Meta reports none"
          }
        },
        "required": [
          "post_id",
          "text",
          "permalink",
          "created_time",
          "reaction_count",
          "comment_count",
          "share_count"
        ]
      }
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Cursor to pass as `after` for the next page, or null when there is no further page"
    },
    "has_next_page": {
      "type": "boolean",
      "description": "Whether another page exists"
    },
    "not_available": {
      "type": "array",
      "description": "Fields a caller may expect that this API does not provide",
      "items": {
        "type": "string"
      }
    },
    "note": {
      "type": "string",
      "description": "Present only when no posts were returned"
    }
  },
  "required": [
    "source",
    "count",
    "posts",
    "next_cursor",
    "has_next_page",
    "not_available"
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the meta-graph pack
{
  "mcpServers": {
    "meta-graph": {
      "url": "https://gateway.pipeworx.io/meta-graph/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 4, 2026