{
  "opencollection": "1.0.0",
  "info": {
    "name": "Facebook Business Manager Facebook Pages API",
    "version": "25.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Pages",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Facebook Business Manager Get page details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.facebook.com/v25.0/:page_id",
            "params": [
              {
                "name": "page_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Facebook Page"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to include in the response"
              }
            ]
          },
          "docs": "Retrieves information about a Facebook Page including name, category, description, fan count, and other metadata."
        },
        {
          "info": {
            "name": "Facebook Business Manager Subscribe app to page",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.facebook.com/v25.0/:page_id/subscribed_apps",
            "params": [
              {
                "name": "page_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Facebook Page"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Installs a Webhooks-configured app on the Page so the app can receive real-time updates about changes to the Page."
        }
      ]
    },
    {
      "info": {
        "name": "Posts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Facebook Business Manager Get page feed",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.facebook.com/v25.0/:page_id/feed",
            "params": [
              {
                "name": "page_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Facebook Page"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to include in the response"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of objects to return per page"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for forward pagination"
              }
            ]
          },
          "docs": "Retrieves the feed of posts on a Facebook Page. Includes posts published by the page and posts by visitors if allowed."
        },
        {
          "info": {
            "name": "Facebook Business Manager Create a page post",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.facebook.com/v25.0/:page_id/feed",
            "params": [
              {
                "name": "page_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Facebook Page"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Publishes a new post to the Facebook Page feed. Supports text posts, link shares, and scheduled posts. Requires a page access token with pages_manage_posts permission."
        },
        {
          "info": {
            "name": "Facebook Business Manager Get a post",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.facebook.com/v25.0/:post_id",
            "params": [
              {
                "name": "post_id",
                "value": "",
                "type": "path",
                "description": "The ID of the post (format PAGE_ID_POST_ID)"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to include in the response"
              }
            ]
          },
          "docs": "Retrieves the details of a specific post including message, attachments, reactions, and engagement counts."
        },
        {
          "info": {
            "name": "Facebook Business Manager Update a post",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.facebook.com/v25.0/:post_id",
            "params": [
              {
                "name": "post_id",
                "value": "",
                "type": "path",
                "description": "The ID of the post (format PAGE_ID_POST_ID)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing post on the Page. Only the message field can be updated after publishing."
        },
        {
          "info": {
            "name": "Facebook Business Manager Delete a post",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.facebook.com/v25.0/:post_id",
            "params": [
              {
                "name": "post_id",
                "value": "",
                "type": "path",
                "description": "The ID of the post (format PAGE_ID_POST_ID)"
              }
            ]
          },
          "docs": "Deletes a post from the Facebook Page. This action cannot be undone."
        }
      ]
    },
    {
      "info": {
        "name": "Comments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Facebook Business Manager Get post comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.facebook.com/v25.0/:post_id/comments",
            "params": [
              {
                "name": "post_id",
                "value": "",
                "type": "path",
                "description": "The ID of the post (format PAGE_ID_POST_ID)"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to include in the response"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of objects to return per page"
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Cursor for forward pagination"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter for comment type"
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Order of comments"
              }
            ]
          },
          "docs": "Retrieves comments on a specific post. Supports pagination and filtering by order."
        },
        {
          "info": {
            "name": "Facebook Business Manager Create a comment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.facebook.com/v25.0/:post_id/comments",
            "params": [
              {
                "name": "post_id",
                "value": "",
                "type": "path",
                "description": "The ID of the post (format PAGE_ID_POST_ID)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Posts a comment on a Page post as the Page. Requires a page access token with pages_manage_engagement permission."
        },
        {
          "info": {
            "name": "Facebook Business Manager Delete a comment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.facebook.com/v25.0/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The ID of the comment to delete"
              }
            ]
          },
          "docs": "Deletes a comment from a Page post. The Page must own the comment or the post the comment is on."
        }
      ]
    },
    {
      "info": {
        "name": "Photos",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Facebook Business Manager Upload a page photo",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.facebook.com/v25.0/:page_id/photos",
            "params": [
              {
                "name": "page_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Facebook Page"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Uploads a photo to the Facebook Page. Can be published directly or uploaded as unpublished for later use in posts."
        }
      ]
    },
    {
      "info": {
        "name": "Videos",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Facebook Business Manager Upload a page video",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.facebook.com/v25.0/:page_id/videos",
            "params": [
              {
                "name": "page_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Facebook Page"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Uploads a video to the Facebook Page. Supports direct upload via URL or resumable upload for large files."
        }
      ]
    },
    {
      "info": {
        "name": "Page Insights",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Facebook Business Manager Get page insights",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.facebook.com/v25.0/:page_id/insights",
            "params": [
              {
                "name": "page_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Facebook Page"
              },
              {
                "name": "metric",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of metrics to retrieve such as page_impressions, page_engaged_users, page_fans."
              },
              {
                "name": "period",
                "value": "",
                "type": "query",
                "description": "Aggregation period for the metrics"
              },
              {
                "name": "since",
                "value": "",
                "type": "query",
                "description": "Start of the date range in Unix timestamp or YYYY-MM-DD format"
              },
              {
                "name": "until",
                "value": "",
                "type": "query",
                "description": "End of the date range in Unix timestamp or YYYY-MM-DD format"
              }
            ]
          },
          "docs": "Retrieves analytics metrics for the Facebook Page including reach, impressions, engagement, and audience demographics."
        }
      ]
    }
  ],
  "bundled": true
}