# Feed your AI with Facebook post performance data

**Use case:** 

Feed your AI with engagement metrics (likes, shares, comments) from public pages' Facebook posts so it can learn which content patterns actually drive results.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/lecreuset/"
    }
  ],
  "resultsLimit": 100,
  "captionText": true,
  "onlyPostsNewerThan": "2024-01-01",
  "onlyPostsOlderThan": "2024-12-31"
}
```

## Output

```json
{
  "thumbnail": {
    "label": "Post picture",
    "format": "image"
  },
  "url": {
    "label": "Post url",
    "format": "link"
  },
  "text": {
    "label": "Post text",
    "format": "text"
  },
  "likes": {
    "label": "Number of likes",
    "format": "number"
  },
  "comments": {
    "label": "Number of comments",
    "format": "number"
  },
  "shares": {
    "label": "Number of shares",
    "format": "number"
  }
}
```

## About this Actor

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