# News Post Scraper for X (Twitter)

**Use case:** 

Collect and analyze public news posts from X (Twitter) using provided URLs, returning structured data like tweet text, timestamps, and engagement metrics.

## Input

```json
{
  "postUrls": [
    {
      "url": "https://x.com/hackernoon/status/2066573502832906644"
    }
  ],
  "flattenOutput": true,
  "includeAuthorProfile": false
}
```

## Output

```json
{
  "text": {
    "label": "Text"
  },
  "author": {
    "label": "Author"
  },
  "created_at": {
    "label": "Created at"
  },
  "post_type": {
    "label": "Post type"
  },
  "metrics": {
    "label": "Metrics"
  },
  "url": {
    "label": "Url"
  }
}
```

## About this Actor

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