# Competitor Facebook Posts Scraper

**Use case:** 

Collect up to 25 public posts from a competitor's Facebook page. Analyze post details for insights and content trends.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/Cristiano"
    }
  ],
  "scrapeAllPhotos": false,
  "maxPosts": 25,
  "includeComments": false,
  "maxComments": 10,
  "includeReplies": false,
  "replyDepth": "1",
  "maxRepliesPerLevel": 2,
  "commentsSortBy": "all_comments",
  "commentsDateRange": ""
}
```

## Output

```json
{
  "postId": {
    "label": "Post id"
  },
  "url": {
    "label": "Url"
  },
  "pageName": {
    "label": "Page name"
  },
  "text": {
    "label": "Text"
  },
  "time": {
    "label": "Time"
  },
  "likes": {
    "label": "Likes"
  },
  "comments": {
    "label": "Comments"
  },
  "shares": {
    "label": "Shares"
  }
}
```

## About this Actor

This example demonstrates how to use [Facebook Posts Scraper](https://apify.com/calm_builder/facebook-posts-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/calm_builder/facebook-posts-scraper) to learn more, explore other use cases, and run it yourself.