# Build in Public Twitter scraper

**Use case:** 

Extract ranked public posts from a specific X Community for content research, author discovery, and engagement review.

## Input

```json
{
  "communityUrls": [
    {
      "url": "https://x.com/i/communities/1493446837214187523"
    }
  ],
  "communityIds": [],
  "maxItems": 10,
  "sortMode": "top",
  "requestDelayMs": 1200,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "communityName": {
    "label": "Community"
  },
  "communityId": {
    "label": "Community ID"
  },
  "sortMode": {
    "label": "Sort"
  },
  "postUrl": {
    "label": "Post URL",
    "format": "link"
  },
  "text": {
    "label": "Text",
    "format": "text"
  },
  "createdAt": {
    "label": "Posted at"
  },
  "authorUsername": {
    "label": "Author username"
  },
  "authorName": {
    "label": "Author name"
  },
  "likeCount": {
    "label": "Likes"
  },
  "repostCount": {
    "label": "Reposts"
  },
  "replyCount": {
    "label": "Replies"
  },
  "quoteCount": {
    "label": "Quotes"
  },
  "viewCount": {
    "label": "Views"
  },
  "engagementCount": {
    "label": "Engagement"
  },
  "hashtags": {
    "label": "Hashtags"
  },
  "urls": {
    "label": "Links"
  },
  "mediaUrls": {
    "label": "Media"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

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