# Facebook Posts with Comments and Replies Scraper

**Use case:** 

Collect up to 15 public Facebook posts from URLs like NASA, including relevant comments and replies for thorough analysis.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/NASA"
    }
  ],
  "scrapeAllPhotos": false,
  "maxPosts": 15,
  "includeComments": true,
  "maxComments": 20,
  "includeReplies": true,
  "replyDepth": "1",
  "maxRepliesPerLevel": 3,
  "commentsSortBy": "most_relevant",
  "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.