# Facebook Games Scraper (`crawlix/facebook-games-scraper`) Actor

Facebook Games Scraper extracts video game titles, directory urls, vanity slugs, cover poster images, live viewer counts, and total follower numbers. Features suggested and viewer-based ranking with global proxy country routing for video game market intelligence.

- **URL**: https://apify.com/crawlix/facebook-games-scraper.md
- **Developed by:** [Crawlix](https://apify.com/crawlix) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 games

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

The **facebook games scraper** is an enterprise data extraction solution built to harvest structured catalog intelligence from the Facebook Games directory. Gaming industry analysts, game publishing studios, esports scouts, and market research teams rely on the **facebook games scraper** to discover indexed titles, monitor community follower growth, track live concurrent player audience volumes, extract official page profile details, and capture suggested live streams and suggested video broadcasts across global gaming ecosystems.

Instead of manual directory browsing across thousands of game listings, the **facebook games scraper** automates directory cataloging at scale. Whether tracking competitive mobile gaming titles or researching PC and console releases with active broadcasting communities, this actor provides complete, query-ready datasets directly to your business intelligence workflows.

#### Key Capabilities of the Facebook Games Scraper

- **Comprehensive Catalog Discovery**: Extract verified video game titles, catalog identifiers, direct directory links, and official vanity slugs using the **facebook games scraper**.
- **Official Page Profile & About Extraction**: Optionally visit each game's official Facebook Page to extract detailed page profile information, including total page likes, followers, talking about count, category, intro bio description, verified badges, and cover artwork.
- **Suggested Live Streams Collection**: Collect real-time live broadcasts currently suggested for each game title, featuring streamer page names, direct video stream URLs, active concurrent viewer counts, and broadcaster avatars with continuous multi-batch harvesting.
- **Suggested Video Broadcasts & Recordings**: Scrape suggested video recordings, replays, and video broadcasts for each game with creator info and continuous multi-batch harvesting.
- **Real-Time Audience Telemetry**: Capture live concurrent viewers watching broadcasts associated with each game title across Facebook.
- **Community Follower Metrics**: Monitor total fan follower counts on official game pages to assess audience scale and brand traction.
- **High-Resolution Artwork Extraction**: Gather official cover poster image URLs suitable for visual indexing, media asset libraries, and dashboards.
- **Dual Directory Ranking Controls**: Collect video games sorted by default platform discovery algorithms or prioritized strictly by highest concurrent live viewers.
- **Global Proxy Country Selection**: Connect via 47+ country gateways to evaluate localized gaming directories and geographic audience distribution.
- **Clean Zero-Null Delivery**: Unpopulated optional attributes are omitted dynamically to ensure pristine dataset formatting.

***

### 2. Practical Use Cases & Applications

The **facebook games scraper** powers high-impact analytical, operational, and commercial use cases:

#### A. Video Game Market Research & Competitive Benchmarking

Game development studios utilize the **facebook games scraper** to monitor competitor titles, measure follower acquisition rates, inspect official page biographies, and identify gaming genres experiencing rapid audience growth.

#### B. Publisher Title Performance Tracking

Publishers monitor the social momentum of newly launched titles. By scheduling the **facebook games scraper** on a recurring basis, publishing executives track post-launch audience retention, live stream volume, and long-term community expansion.

#### C. Esports League & Tournament Scouting

Esports organizers identify which games maintain active, enthusiastic spectator communities. Sorting game directories by viewer volume with the **facebook games scraper** reveals emerging competitive scenes with expanding viewer demand and active streamer rosters.

#### D. Media Cataloging & Gaming Portals

Gaming review sites and digital entertainment directories automate their title databases. The **facebook games scraper** continuously feeds updated game metadata, official page about details, cover posters, suggested live feeds, and direct directory URLs into consumer gaming portals.

#### E. Gaming Influencer & Brand Sponsorship Planning

Advertising agencies match brand campaigns with relevant gaming audiences. Evaluating game follower volumes, official page engagement, and concurrent viewer density through the **facebook games scraper** informs targeted marketing allocations.

***

### 3. Target Audiences & Engineering Teams

The **facebook games scraper** is designed specifically for:

- **Game Studios & Publishers**: Evaluating title market share, player interest, official page engagement, and competitive franchise growth.
- **Esports Organizations**: Discovering high-viewership competitive titles and scouting active streamers broadcasting tournament matches.
- **Data Engineering Teams**: Building automated social media and gaming telemetry pipelines with zero maintenance.
- **Marketing & Media Agencies**: Structuring gaming sponsorship strategies backed by real audience metrics and active broadcaster feeds.
- **Market Intelligence Platforms**: Enriching broader gaming industry datasets with real-time platform metrics and rich title profiles.

***

### 4. Key Architectural Advantages & Reliability

The **facebook games scraper** incorporates production-grade engineering principles to ensure exceptional operational reliability:

1. **Strict Deduplication Architecture**: Every extracted title is verified against an internal identifier cache. The **facebook games scraper** guarantees that duplicate game records are never counted toward your target volume or charged.
2. **Deep Enrichment Modules**: Turn on official page about extraction, suggested live streams, or suggested videos with dedicated toggle switches to enrich game catalog records on demand.
3. **Continuous Multi-Page Traversal**: Automatically traverses multiple directory batches for games, suggested live broadcasts, and suggested video replays to collect complete data sets.
4. **Dynamic Target Completion**: The engine continues requesting directory edges until your requested volume of unique video game records is completely satisfied, or until directory listings are fully exhausted.
5. **Failsafe Graceful Shutdown**: If a run is interrupted by user command or an external spending threshold, the **facebook games scraper** saves all collected records and exits with a successful completion code.
6. **Polite Adaptive Pacing**: Connection intervals dynamically adjust to prevent connection throttling and ensure stable extraction throughput.
7. **Zero Browser Overhead**: Lightweight network execution delivers high-speed data collection while minimizing container compute consumption.

***

### 5. Quickstart: Step-by-Step Execution Guide

Deploying the **facebook games scraper** on Apify takes less than two minutes:

1. **Open the Console**: Access the **facebook games scraper** on the Apify Store.
2. **Choose Scraping Mode**:
   - **Direct Directory Discovery**: Discover video games serially from the Facebook Gaming catalog directory sorted by relevance or spectator volume.
   - **Target Game Usernames**: Scrape specific video games directly by entering their Facebook Gaming vanity usernames or URLs (e.g. `mobilelegends`, `valorant`, `pubgmobile`, or `https://www.facebook.com/gaming/valorant/`).
3. **Configure Targets & Volume**:
   - For Directory Discovery mode: Select sorting order (`Suggested` or `Viewers`) and set `max_items`.
   - For Target Usernames mode: Enter one or more exact game vanity usernames. To get the correct username, visit the game page on Facebook Gaming in your browser and copy the vanity slug from the address bar (`facebook.com/gaming/<username>/`).
4. **Configure Dedicated Tabs Enrichment**:
   - Enable **Scrape Game Page About** to extract page likes, followers, bio description, and verified badge.
   - Enable **Scrape All Live for a Game** to extract real-time live streams from the game's dedicated Live tab, choose your sort order (`Viewers` or `Suggested`), and set the volume limit (up to 150 live broadcasts).
   - Enable **Scrape All Videos for a Game** to extract recorded broadcasts, replays, and video content from the dedicated Videos tab (up to 150 videos).
5. **Choose Connection Country**: Pick a country gateway closest to your audience (default is `United States (US)`).
6. **Run the Actor**: Click the green **Start** button. Watch real-time terminal progress indicators as directory items are collected.
7. **Export Your Dataset**: Download the extracted records in JSON, CSV, Excel, or Parquet format directly from the Apify Dataset tab.

***

### 6. Input Parameters & Configuration Reference

The **facebook games scraper** features a streamlined, intuitive input schema designed for immediate execution:

> \[!NOTE]
> **Mode-Specific vs Universal Parameters**:
>
> - **Direct Discovery Exclusive**: `Sort by (Direct Discovery Mode Only)` and `Max Items to Scrape (Direct Discovery Mode Only)` apply exclusively to `direct_discovery` mode. When using `username_input` mode, these two settings are disregarded because your collection scope and volume are determined directly by the specific games in your target usernames list.
> - **Universal Parameters (Work for Both Modes)**: All other parameters (`Scrape Game Page About (Both Modes)`, `Scrape All Live for a Game (Both Modes) ($)`, `Live Streams Sort Order (Both Modes)`, `Max Live Streams Per Game (Both Modes)`, `Scrape All Videos for a Game (Both Modes) ($)`, `Max Videos Per Game (Both Modes)`, and `Connection Country (Both Modes)`) work universally across **both** `direct_discovery` and `username_input` modes!

> \[!TIP]
> **Pay-Per-Event Billing Transparency**:
>
> - **Base Charge (`game`)**: Billed per unique video game successfully collected and saved to your dataset. Applies to both Direct Discovery and Target Game Usernames modes. Failed or non-existent usernames incur zero charge.
> - **Free Features (Zero Surcharge)**: `Sort by`, `Max Items to Scrape`, and `Scrape Game Page About` are completely free. When using Target Game Usernames mode, official page profile details are automatically collected by default at no extra charge.
> - **Surcharged Options (`($)`)**:
>   - **Live Streams (`live_stream`)**: Billed per active live broadcast successfully extracted from the Live tab when `Scrape All Live for a Game ($)` is enabled.
>   - **Videos (`video`)**: Billed per video recording successfully extracted from the Videos tab when `Scrape All Videos for a Game ($)` is enabled.
>   - Charges apply strictly on success: if a game has 0 live streams or 0 videos on Facebook, zero surcharge events are billed.

| Parameter Name | Field Key | Type | Default | Mode Availability & Description |
|---|---|---|---|---|
| **Scraping Mode** | `mode` | Select | `direct_discovery` | Primary mode selector: Choose `Direct Directory Discovery (Scrape catalog serially)` or `Target Game Usernames (Scrape specific games only)`. |
| **Target Game Usernames (Targeted Mode Only)** | `game_usernames` | List | `["mobilelegends", "garenafreefire"]` | **Targeted Mode Exclusive**: List of target Facebook game vanity usernames or full URLs (e.g. `valorant`, `mobilelegends`, `pubgmobile`, or `https://www.facebook.com/gaming/valorant/`). Make sure to enter the exact username from the URL bar on Facebook Gaming (`facebook.com/gaming/<username>/`). |
| **Sort by (Direct Discovery Mode Only)** | `sort_by` | Select | `suggested` | **Direct Discovery Exclusive (Free)**: Ranking order for directory exploration: `Suggested (Default Relevance)` uses algorithmic discovery; `Viewers (Most viewers first)` ranks video games by active concurrent spectator volume. Completely free. (Ignored in Targeted mode). |
| **Max Items to Scrape (Direct Discovery Mode Only)** | `max_items` | Integer | `50` | **Direct Discovery Exclusive**: Maximum quantity of video games to collect from the directory in Direct Discovery mode. Free users are capped at 50 records; paying users enjoy unlimited collection capacity. (Ignored in Targeted mode). |
| **Scrape Game Page About (Both Modes)** | `scrape_game_page_about` | Boolean | `false` | **Both Modes (Free)**: When enabled, visits the official Facebook page for each game to collect page profile details including likes, followers, category, verified status, bio description, and cover photo. Completely free of charge. |
| **Scrape All Live for a Game (Both Modes) ($)** | `scrape_all_live` | Boolean | `false` | **Both Modes ($)**: When enabled, visits the dedicated Live tab for each game to collect active real-time live broadcasts, including streamer info, concurrent viewer count, and direct stream URLs. Incurs an extra charge per live stream broadcast successfully collected and saved to dataset (see Apify Pricing tab). Includes continuous multi-batch harvesting. |
| **Live Streams Sort Order (Both Modes)** | `live_sort_by` | Select | `viewers` | **Both Modes**: Ranking order of live streams on the game's dedicated Live tab: `Viewers (Most viewers first - Default)` ranks streams by highest concurrent audience volume first; `Suggested (Default Relevance)` uses Facebook's algorithmic relevance. |
| **Max Live Streams Per Game (Both Modes)** | `max_live_streams_per_game` | Integer | `10` | **Both Modes**: Maximum number of active live broadcasts to collect per game from the Live tab (when Scrape All Live for a Game is enabled). Facebook hard caps live stream feeds at 150 broadcasts. |
| **Scrape All Videos for a Game (Both Modes) ($)** | `scrape_all_videos` | Boolean | `false` | **Both Modes ($)**: When enabled, visits the dedicated Videos tab for each game to collect video recordings, replays, and video broadcasts. Incurs an extra charge per video successfully collected and saved to dataset (see Apify Pricing tab). Includes continuous multi-batch harvesting. |
| **Max Videos Per Game (Both Modes)** | `max_videos_per_game` | Integer | `10` | **Both Modes**: Maximum number of video recordings to collect per game from the Videos tab (when Scrape All Videos for a Game is enabled). Facebook hard caps video feeds at 150 videos. |
| **Connection Country (Both Modes)** | `proxyCountry` | Select | `US` | **Both Modes**: Origin country for network connections. Choose from 47 supported countries worldwide. |

#### Sample Input Payload: Comprehensive Catalog Run (`input.json`)

```json
{
  "mode": "direct_discovery",
  "sort_by": "viewers",
  "max_items": 50,
  "scrape_game_page_about": true,
  "scrape_all_live": true,
  "live_sort_by": "viewers",
  "max_live_streams_per_game": 10,
  "scrape_all_videos": true,
  "max_videos_per_game": 10,
  "proxyCountry": "US"
}
```

#### Advanced Usage Examples

##### Targeted Game Usernames Mode

Directly target specific video game titles by their vanity usernames or URLs with complete enrichments:

```json
{
  "mode": "username_input",
  "game_usernames": [
    "valorant",
    "mobilelegends",
    "https://www.facebook.com/gaming/pubgmobile/"
  ],
  "scrape_game_page_about": true,
  "scrape_all_live": true,
  "live_sort_by": "viewers",
  "max_live_streams_per_game": 25,
  "scrape_all_videos": true,
  "max_videos_per_game": 25,
  "proxyCountry": "US"
}
```

##### Default Directory Exploration

Collect top suggested video games indexed in the Facebook Gaming directory:

```json
{
  "mode": "direct_discovery",
  "sort_by": "suggested",
  "max_items": 50,
  "proxyCountry": "US"
}
```

##### Viewer-Ranked Esports Cataloging with Full Profile Enrichment

Harvest top games with the largest concurrent spectator audiences, their official Facebook Page details, and active live streams:

```json
{
  "mode": "direct_discovery",
  "sort_by": "viewers",
  "max_items": 100,
  "scrape_game_page_about": true,
  "scrape_all_live": true,
  "live_sort_by": "viewers",
  "max_live_streams_per_game": 10,
  "proxyCountry": "GB"
}
```

***

### 7. Extracted Dataset Schema & Field Definitions

The **facebook games scraper** structures all extracted records into standardized, validated JSON objects. Following the clean output standard, optional fields that lack value for a particular game are omitted from that row rather than returning blank values.

#### Fields That Most of the Time May Come in the Output

*These primary fields are consistently populated across catalog directory listings:*

| Field Name | Type | Description |
|---|---|---|
| `id` | String | Unique Facebook identifier for the video game in the catalog. |
| `name` | String | Official title of the video game. |
| `vanity` | String | Unique vanity slug of the game directory page. |
| `url` | String | Direct canonical link to the game directory page on Facebook. |
| `cover_image_url` | String | High-resolution cover poster image URL. |
| `viewer_count` | Integer | Total concurrent active viewers watching live broadcasts of this game. |
| `follower_count` | Integer | Total follower count for the official video game page. |
| `sort_order` | String | Sorting criteria applied during extraction (`suggested` or `viewers`). |
| `scraped_at` | String | ISO 8601 timestamp marking when the data was extracted. |

#### Fields Less Often Available (Present When Provided by the Listing or Broadcaster)

*These secondary fields appear conditionally based on user options, page permissions, and broadcaster metadata:*

| Field Name | Type | Description |
|---|---|---|
| `page_about` | Object | Detailed profile information from the official Facebook Page (`page_id`, `page_url`, `name`, `category`, `bio`, `followers_count`, `likes_count`, `talking_about_count`, `is_verified`, `profile_picture_url`, `cover_photo_url`, `website`). |
| `live_streams` | Array | List of active real-time live broadcasts from the Live tab (`id`, `url`, `title`, `broadcast_status`, `is_live_streaming`, `is_premiere`, `streamer_name`, `streamer_id`, `streamer_vanity`, `streamer_url`, `streamer_avatar_url`, `viewer_count`, `thumbnail_url`, `attributed_game_name`, `attributed_game_id`, `attributed_game_vanity`). |
| `videos` | Array | List of video recordings and replays from the Videos tab (`id`, `url`, `title`, `broadcast_status`, `is_video_broadcast`, `creator_name`, `creator_id`, `creator_vanity`, `creator_url`, `creator_avatar_url`, `creation_time`, `thumbnail_url`, `attributed_game_name`, `attributed_game_id`, `attributed_game_vanity`). |
| `can_viewer_follow` | Boolean | Whether viewers are permitted to follow this game page. |
| `does_viewer_follow` | Boolean | Whether the active connection currently follows this game page. |

#### Authentic Sample Record Produced by the Facebook Games Scraper

```json
{
  "id": "1494097103958822",
  "name": "Mobile Legends: Bang Bang",
  "vanity": "mobilelegends",
  "url": "https://www.facebook.com/gaming/mobilelegends/",
  "cover_image_url": "https://scontent.xx.fbcdn.net/m1/v/t0.53032-6/game_cover.jpg",
  "viewer_count": 14520,
  "follower_count": 11787179,
  "can_viewer_follow": false,
  "does_viewer_follow": false,
  "sort_order": "viewers",
  "page_about": {
    "page_id": "140033766034038",
    "page_url": "https://facebook.com/mobilelegends",
    "name": "Mobile Legends: Bang Bang",
    "category": "Video Game",
    "bio": "Join your friends in a brand new 5v5 MOBA showdown against real human opponents!",
    "followers_count": 11787179,
    "likes_count": 11200500,
    "talking_about_count": 48200,
    "is_verified": true,
    "profile_picture_url": "https://scontent.xx.fbcdn.net/profile_avatar.jpg",
    "cover_photo_url": "https://scontent.xx.fbcdn.net/page_cover.jpg",
    "website": "https://m.mobilelegends.com"
  },
  "live_streams": [
    {
      "id": "1137872559055052",
      "url": "https://www.facebook.com/streamer/videos/1137872559055052/",
      "title": "Championship Grand Finals Live Match",
      "broadcast_status": "LIVE",
      "is_live_streaming": true,
      "is_premiere": false,
      "streamer_name": "Pro Streamer Arena",
      "streamer_id": "100044281996986",
      "streamer_vanity": "prostreamerarena",
      "streamer_url": "https://www.facebook.com/prostreamerarena/",
      "streamer_avatar_url": "https://scontent.xx.fbcdn.net/avatar.jpg",
      "viewer_count": 2840,
      "thumbnail_url": "https://scontent.xx.fbcdn.net/stream_thumb.jpg",
      "attributed_game_name": "Mobile Legends: Bang Bang",
      "attributed_game_id": "1494097103958822",
      "attributed_game_vanity": "mobilelegends"
    }
  ],
  "videos": [
    {
      "id": "4137565533047684",
      "url": "https://www.facebook.com/creator/videos/4137565533047684/",
      "title": "Highlights & Top Plays Compilation",
      "broadcast_status": "VOD_READY",
      "is_video_broadcast": true,
      "creator_name": "Game Arena",
      "creator_id": "907598249349552",
      "creator_vanity": "gamearena",
      "creator_url": "https://www.facebook.com/gamearena/",
      "creator_avatar_url": "https://scontent.xx.fbcdn.net/creator.jpg",
      "creation_time": 1731150000,
      "thumbnail_url": "https://scontent.xx.fbcdn.net/video_thumb.jpg",
      "attributed_game_name": "Mobile Legends: Bang Bang",
      "attributed_game_id": "1494097103958822",
      "attributed_game_vanity": "mobilelegends"
    }
  ],
  "scraped_at": "2026-11-09T12:00:00+00:00"
}
```

***

### 8. Operational Constraints & Platform Limits

When designing extraction workflows with the **facebook games scraper**, keep these operational dynamics in mind:

- **Facebook 150-Item Feed Hard Cap**: Facebook enforces a strict platform ceiling of **150 items** for both the dedicated Live tab streams and Videos tab feeds per game. Even on massive streaming titles, Facebook's feed concludes once 150 items have been retrieved. The actor's maximum slider is aligned to 150 to harvest 100% of everything the platform can deliver.
- **Title Popularity & Availability Variations**:
  - **High-Profile Titles**: Mainstream franchises with vast global audiences (such as *Grand Theft Auto V*, *Mobile Legends: Bang Bang*, and *Garena Free Fire*) feature hundreds of simultaneous broadcasters and deep video libraries, routinely yielding the full 150 items.
  - **Niche & Indie Titles**: Smaller or emerging releases frequently have only 0 to 5 active live streams, or may not have a dedicated video library cataloged on Facebook.
- **Zero Results Diagnostic & Verification**:
  - If a title yields 0 live streams or 0 videos, it directly mirrors current platform availability on Facebook at the moment of collection.
  - To confirm, visit the target game page on Facebook directly (`/live/` and `/videos/`). If Facebook shows no active live streams or videos, this is confirmed platform-side state.
  - If you observe active live broadcasts or videos visible on Facebook that the actor failed to gather, report it via the Apify Console Issues tab with your Run ID so our engineering team can inspect and update extraction routines.
- **Directory Scale**: Facebook indexes thousands of gaming titles globally, providing an extensive catalog for market research and discovery.
- **Audience Metrics Fluidity**: Concurrent viewer numbers reflect live spectator volume at the exact moment of extraction and fluctuate as streams start or conclude.
- **Follower Count Updates**: Follower metrics represent total accumulated page followers and update steadily over time as communities grow.
- **Free Plan Quota**: Free Apify accounts collect up to 50 items per run; upgrading to an Apify paid tier unlocks unlimited extraction volume.
- **Enrichment Latency**: Enabling official page about extraction, live streams from the Live tab, or videos from the Videos tab requires extra network calls per game. Set your collection targets accordingly.
- **Rate Limit Resilience**: The actor incorporates intelligent retry mechanisms and polite pacing to maintain consistent connectivity during large catalog extractions.

***

### 9. Best Practices & Performance Optimization

To extract maximum value from the **facebook games scraper**, adopt these field-proven practices:

1. **Schedule Periodic Benchmarking**: Configure scheduled runs (e.g. weekly or monthly) with the **facebook games scraper** to monitor long-term community follower trajectory across competitive titles.
2. **Prioritize Viewers for Trending Content**: Use `viewers` sorting to instantly surface games currently capturing the largest broadcast audience share.
3. **Toggle Relevant Enriched Data**: If you only need title directory metadata, leave optional toggles disabled for maximum collection velocity. Turn on `scrape_game_page_about` when deep marketing metrics like page likes and verified badges are required.
4. **Analyze Regional Preferences**: Execute runs across different `proxyCountry` locations (such as `US`, `PH`, `BR`, or `ID`) to uncover regional gaming preferences and international audience pockets.
5. **Combine with Live Stream Telemetry**: Pair dataset outputs from the **facebook games scraper** with the **facebook live stream scraper** for end-to-end gaming ecosystem intelligence.
6. **Automate Dataset Webhooks**: Connect webhooks to notify your engineering or business intelligence endpoints whenever a catalog refresh completes.

***

### 10. Troubleshooting & Frequently Asked Questions

#### How many games can the scraper collect?

The **facebook games scraper** can harvest thousands of cataloged game titles. You can specify any target volume up to 50,000 items in the `max_items` field.

#### Does the actor require Facebook login credentials?

No. The **facebook games scraper** operates completely anonymously on public directory pages without requiring credentials or personal accounts.

#### What is included in the game page about section?

When `scrape_game_page_about` is turned on, the **facebook games scraper** collects official page profile metrics including page ID, canonical URL, page name, category, intro bio text, follower count, like count, talking about count, verified badge status, profile avatar, and cover image.

#### How does Live tab and Videos tab multi-batch harvesting work?

When `scrape_all_live` or `scrape_all_videos` is enabled, the actor automatically follows continuous feed batches until your requested limit (`max_live_streams_per_game` or `max_videos_per_game`) is satisfied.

#### Why is the Live tab and Videos tab limit capped at 150?

Facebook enforces a hard ceiling of 150 items on both video and live stream feeds per game title. Aligning the slider maximum to 150 allows you to harvest 100% of all platform-accessible items without requesting empty feed pages.

#### Why did a game return zero live streams or zero videos?

Mainstream titles like *GTA V* and *Mobile Legends* have active broadcasting communities, easily reaching up to 150 live streams or videos. Conversely, niche, older, or indie games may have zero live broadcasters at that specific moment, or no videos cataloged on Facebook. If no streams or videos exist on the platform, zero items are returned.

#### What should I do if Facebook shows live streams or videos on the website that the actor did not return?

If you manually open the game's page on Facebook and observe active live streams or videos that were not collected in your run, please open an issue in the **Issues** tab on the Apify Console. Include your **Run ID** and target game URL so our engineering team can immediately inspect the layout and update the extraction routines.

#### Why do some games have zero live viewers?

Games with zero concurrent viewers currently have no active live broadcasts transmitting on Facebook at the moment of extraction. Their follower counts and catalog metadata remain fully accessible.

#### In what formats can I export the extracted dataset?

You can download your dataset in JSON, CSV, Excel, XML, or Parquet directly from the Apify Console or stream it via API.

#### How do I find the exact game username for Targeted Game Usernames mode?

To locate the exact vanity username for any video game, navigate to `facebook.com/gaming/` in your browser, search for or click on the game title, and copy the slug directly from the URL bar (`facebook.com/gaming/<username>/`). For example, in `https://www.facebook.com/gaming/valorant/`, the username is `valorant`. You can paste either the clean username (`valorant`) or the full URL into the `game_usernames` list.

#### What happens if an entered game username is misspelled or does not exist?

If a target username does not exist on Facebook Gaming, the **facebook games scraper** logs a clear warning notice identifying the missing username and automatically proceeds to the remaining targets in your list without failing the run.

***

### 11. Code Integration: Python, JavaScript & REST API

Integrate the **facebook games scraper** seamlessly into your existing tech stack:

#### Python Integration via Apify Client

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")

run_input = {
    "mode": "direct_discovery",
    "sort_by": "viewers",
    "max_items": 50,
    "scrape_game_page_about": True,
    "scrape_all_live": True,
    "live_sort_by": "viewers",
    "max_live_streams_per_game": 10,
    "scrape_all_videos": True,
    "max_videos_per_game": 10,
    "proxyCountry": "US"
}

run = client.actor("facebook-games-scraper").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"[{item.get('viewer_count')} viewers] {item.get('name')} ({item.get('follower_count')} followers)")
```

#### JavaScript / Node.js Integration

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });

const input = {
    mode: 'direct_discovery',
    sort_by: 'viewers',
    max_items: 50,
    scrape_game_page_about: true,
    scrape_all_live: true,
    live_sort_by: 'viewers',
    max_live_streams_per_game: 10,
    scrape_all_videos: true,
    max_videos_per_game: 10,
    proxyCountry: 'US'
};

const run = await client.actor('facebook-games-scraper').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();

items.forEach(game => {
    console.log(`${game.name} - ${game.viewer_count} live viewers, ${game.follower_count} followers: ${game.url}`);
});
```

#### Direct REST API Execution via cURL

```bash
curl --request POST \
  --url "https://api.apify.com/v2/acts/facebook-games-scraper/runs?token=<YOUR_API_TOKEN>" \
  --header "Content-Type: application/json" \
  --data '{
    "sort_by": "viewers",
    "max_items": 50,
    "scrape_game_page_about": true,
    "proxyCountry": "US"
  }'
```

***

### 12. Technical Architecture Glossary

- **Game Vanity (`vanity`)**: The unique alphanumeric handle identifying a specific game page within the directory.
- **Concurrent Viewer Count (`viewer_count`)**: Aggregated count of active spectators watching live streams of a specific game title.
- **Follower Volume (`follower_count`)**: Total number of registered Facebook users following the game page.
- **Cover Image (`cover_image_url`)**: High-resolution promotional poster artwork assigned to the video game.
- **Page About (`page_about`)**: Deeply structured official Facebook Page details including likes, followers, bio, and verification badge.
- **Suggested Live Streams (`suggested_live_streams`)**: Paginated array of real-time live video broadcasts for the video game.
- **Suggested Videos (`suggested_videos`)**: Paginated array of video recordings and past broadcasts associated with the game title.
- **Sorting Metric (`sort_order`)**: The algorithmic ranking parameter applied to directory results during collection.

***

### 13. Complementary Scrapers in the Ecosystem

Expand your market intelligence and social media extraction toolkit with these specialized scrapers:

- **Facebook Live Stream Scraper**: Extract real-time live video broadcasts, streamer profiles, concurrent viewer numbers, and active stream feeds.
- **Facebook Group Scraper**: Extract public group metadata, discussion feed posts, threaded comments, child replies, calendar events, and community media albums.
- **Facebook Marketplace Scraper**: Extract classified listings, product pricing, seller details, and geo-targeted product deals.

***

### 14. Support & Feedback Channels

We actively maintain the **facebook games scraper** to ensure continuous compatibility with platform directory updates.

If you encounter unexpected behavior, missing fields, or wish to suggest new capabilities, submit a detailed report via the **Issues** tab on the Apify Actor Console. Please include your **Run ID** and input configuration to expedite investigation.

# Actor input Schema

## `mode` (type: `string`):

Choose your operation mode: Direct Directory Discovery scrapes the catalog serially (using Sort by and Max Items), whereas Target Game Usernames scrapes specific games directly. All enrichment options (About, Live Streams, Videos, and Country) work across both modes.

## `game_usernames` (type: `array`):

List of exact Facebook game usernames (vanity slugs) or Facebook Gaming URLs to scrape (e.g., 'mobilelegends', 'garenafreefire', 'valorant', or 'https://www.facebook.com/gaming/pubgmobile/'). Applies exclusively when Scraping Mode is set to 'Target Game Usernames'. Make sure to enter the exact username correctly as seen in the URL bar on Facebook Gaming (facebook.com/gaming/<username>/), otherwise the platform will not be able to find the game.

## `sort_by` (type: `string`):

Order of game directory results when using Direct Directory Discovery mode. Applies exclusively to Direct Directory Discovery. Suggested ranks by Facebook's default discovery algorithm. Viewers ranks video games by highest active concurrent viewer count first. (Ignored in Target Game Usernames mode as specific titles are scraped directly).

## `max_items` (type: `integer`):

Maximum number of video games to collect from the directory. Applies exclusively to Direct Directory Discovery mode. Free Apify users collect up to 50 items per run; paying users enjoy unlimited collection capacity. (Ignored in Target Game Usernames mode as the collection count is determined by your target usernames list).

## `scrape_game_page_about` (type: `boolean`):

Works for both Direct Discovery and Target Game Usernames modes. Completely free with no extra event charge. When enabled, visits the official Facebook page for each video game to collect complete page details such as page profile, follower count, like count, category, verified status, intro bio, and cover photo.

## `scrape_all_live` (type: `boolean`):

Works for both Direct Discovery and Target Game Usernames modes. When enabled, visits the dedicated Live tab for each game to collect active real-time live broadcasts, including streamer info, concurrent viewer count, and direct stream URLs. Billed per live stream broadcast successfully collected and saved to the dataset (see the Apify Pricing tab for details). Includes continuous multi-batch collection.

## `live_sort_by` (type: `string`):

Ranking order of live streams on the game's dedicated Live tab: Viewers sorts active streams by highest concurrent spectator volume first (default); Suggested uses Facebook's discovery relevance algorithm.

## `max_live_streams_per_game` (type: `integer`):

Works for both Direct Discovery and Target Game Usernames modes. Maximum number of active live broadcasts to collect per game from the Live tab (applies when Scrape All Live for a Game is enabled). Facebook hard caps live stream feeds at 150 broadcasts.

## `scrape_all_videos` (type: `boolean`):

Works for both Direct Discovery and Target Game Usernames modes. When enabled, visits the dedicated Videos tab for each game to collect video recordings, replays, and video broadcasts, including title, creator name, video URL, and cover thumbnail. Billed per video successfully collected and saved to the dataset (see the Apify Pricing tab for details). Includes continuous multi-batch collection.

## `max_videos_per_game` (type: `integer`):

Works for both Direct Discovery and Target Game Usernames modes. Maximum number of video recordings to collect per game from the Videos tab (applies when Scrape All Videos for a Game is enabled). Facebook hard caps video feeds at 150 videos.

## `proxyCountry` (type: `string`):

Works for both Direct Discovery and Target Game Usernames modes. The country your run connects from. Pick the location closest to the target audience. If a country is not available, the run connects from the United States automatically.

## Actor input object example

```json
{
  "mode": "direct_discovery",
  "game_usernames": [
    "mobilelegends",
    "garenafreefire"
  ],
  "sort_by": "suggested",
  "max_items": 10,
  "scrape_game_page_about": false,
  "scrape_all_live": false,
  "live_sort_by": "viewers",
  "max_live_streams_per_game": 10,
  "scrape_all_videos": false,
  "max_videos_per_game": 10,
  "proxyCountry": "US"
}
```

# Actor output Schema

## `results` (type: `string`):

Every game collected in this run. Use the Export button on the Output tab to download in CSV, Excel, JSON, or XML format.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "direct_discovery",
    "game_usernames": [
        "mobilelegends",
        "garenafreefire"
    ],
    "sort_by": "suggested",
    "max_items": 10,
    "scrape_game_page_about": false,
    "scrape_all_live": false,
    "live_sort_by": "viewers",
    "max_live_streams_per_game": 10,
    "scrape_all_videos": false,
    "max_videos_per_game": 10,
    "proxyCountry": "US"
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlix/facebook-games-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "direct_discovery",
    "game_usernames": [
        "mobilelegends",
        "garenafreefire",
    ],
    "sort_by": "suggested",
    "max_items": 10,
    "scrape_game_page_about": False,
    "scrape_all_live": False,
    "live_sort_by": "viewers",
    "max_live_streams_per_game": 10,
    "scrape_all_videos": False,
    "max_videos_per_game": 10,
    "proxyCountry": "US",
}

# Run the Actor and wait for it to finish
run = client.actor("crawlix/facebook-games-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "direct_discovery",
  "game_usernames": [
    "mobilelegends",
    "garenafreefire"
  ],
  "sort_by": "suggested",
  "max_items": 10,
  "scrape_game_page_about": false,
  "scrape_all_live": false,
  "live_sort_by": "viewers",
  "max_live_streams_per_game": 10,
  "scrape_all_videos": false,
  "max_videos_per_game": 10,
  "proxyCountry": "US"
}' |
apify call crawlix/facebook-games-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlix/facebook-games-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ZO4IB5csWwuDIURvg/builds/cnjQYS9eeKEmB3wYu/openapi.json
