# Facebook Story Downloader (`codenest/facebook-story-downloader`) Actor

Download high-quality Facebook Stories instantly with this powerful tool! Extract videos & images in multiple resolutions, get direct CDN links 🚀 and batch process multiple stories effortlessly! Perfect for archiving and content repurposing.🚀Facebook Story Downloader.

- **URL**: https://apify.com/codenest/facebook-story-downloader.md
- **Developed by:** [CodeNest](https://apify.com/codenest) (community)
- **Categories:** Social media, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 93 total users, 9 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.50 / 1,000 facebook story downloads

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

## Facebook Story Downloader 📥 - Professional Facebook Story Extraction Tool

**Effortlessly download Facebook Stories with our enterprise-grade powerful actor! This Apify actor enables you to batch download Stories content while preserving high video quality and supporting both single and multiple story modes.**

***

### 🎯 Overview

Need to archive Facebook content or repurpose Stories? This **Facebook Story Downloader** delivers:

- **Multiple Qualities**: 720p, 480p, and original resolutions
- **Dual Format Support**: Video (MP4) and Image (JPG) downloads
- **Batch Processing**: Handle multiple story URLs in one run
- **Smart Detection**: Auto-recognition of single vs. multiple stories
- **Direct CDN Access**: Bypass intermediaries for faster downloads

Perfect for social media managers 📱, content agencies 🎬, and digital archivists 📊!

### ⚡ Core Capabilities/Key Features

#### 📁 Media Options

- **Quality Selection**: Multiple resolution options per story
- **Format Support**: MP4 for videos, JPG for images
- **Bulk Download**: Process multiple stories from single URLs
- **Single Story Mode**: Direct download for individual stories

#### 🏷️ Metadata Mastery

- **Story Enumeration**: Numbered organization (Story No: 1, 2, 3...)
- **Type Classification**: Clear video vs. image identification
- **Quality Labels**: 720p, 480p, original designations
- **Success Tracking**: Individual URL success status

#### 🔧 Advanced Tech

- **Direct Links**: Authentic Facebook CDN URLs
- **Smart Parsing**: Handle both single and multi-story URLs
- **Error Resilience**: Built-in failure handling
- **Efficient Batching**: Optimized for multiple story downloads

***

### ⚙️ Input Configuration

Just enter the Facebook Story URLs in the Input Section then click the "start" button and wait for the results. This **Facebook Story Downloader** supports both single stories and story collections:

```json
{
  "story_urls": [
    {
      "url": "https://www.facebook.com/stories/185179642966326/?view_single=false"
    },
    {
      "url": "https://www.facebook.com/stories/185179642966326/UzpfSVNDOjExNzM0MjkxNTE2MTMzODI=/?view_single=1"
    }
  ]
}
```

#### 📋 Input Specifications

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `story_urls` | Array | Yes | Facebook Story URLs to process |
| `url` | String | Yes | Valid Facebook Story URL (stories/ format) |

**URL Formats Supported by this Facebook Story Downloader:**

- Multi-story collections: `https://www.facebook.com/stories/{ID}/?view_single=false`
- Single stories: `https://www.facebook.com/stories/{ID}/{HASH}/?view_single=1`

***

### ⚙️ Input Configuration

Just enter the Facebook Story URLs in the Input Section then click the "start" button and wait for the results:

```json
{
  "story_urls": [
    {
      "url": "https://www.facebook.com/stories/172882127532252/UzpfSVNDOjE3MjM4NDEzNDIwMzA2MTQ=/?view_single=1"
    }
  ],
  "saveToKeyValueStore": true,
  "delayBetweenRequests": 3
}
```

#### 📋 Input Specifications

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `story_urls` | Array | Yes | - | Facebook Story URLs to process |
| `cookies` | String | No | null | Optional Facebook cookies (JSON array or cookie string) for authenticated direct scraping & private stories |
| `saveToKeyValueStore` | Boolean | No | `true` | Save genuine media files permanently to Apify Key-Value Store |
| `delayBetweenRequests` | Number | No | `3` | Delay in seconds between requests to avoid rate limiting |
| `proxy` | Object | No | US Residential | Apify proxy configuration |

***

### 💰 Pay-Per-Event (PPE) Pricing Model

This Actor operates under Apify's official **Pay-Per-Event (PPE)** pricing model. You only pay for verified stories successfully extracted and saved:

| Event Name | Pricing Type | Price | Description |
|------------|--------------|-------|-------------|
| `apify-actor-start` | Synthetic (Startup) | $0.00005 | Covers container startup and initial compute resources (Apify covers first 5 seconds). |
| `story-download` | Custom (Primary Event) | $0.005 / story | Charged per extracted Facebook Story media item (video or photo) and metadata ($5.00 per 1,000 stories). |

- **🆓 Free Plan Policy:** Free tier users (`APIFY_USER_IS_PAYING != '1'`) can scrape and download up to **5 stories per run**, and a maximum of **20 free stories in total (lifetime)** across all runs. After reaching the 20-story limit, upgrading to an Apify paid subscription is required to continue scraping unlimited stories.
- **💎 Paid Plan:** Paying Apify subscribers enjoy **unlimited story scraping** with spending budget protection ($0.005 per successfully extracted story).
- 🛑 **Spending Limit Protection:** Users can configure a maximum spend budget (`maxTotalChargeUsd`). The Actor automatically tracks usage and finishes gracefully before exceeding limits.

***

### 📊 Output Structure

The actor saves clean, standardized records into the default dataset:

```json
[
  {
    "story_no": 1,
    "story_id": "1789025825650568",
    "url": "https://www.facebook.com/stories/172882127532252/UzpfSVNDOjE3MjM4NDEzNDIwMzA2MTQ=/?view_single=1",
    "user_id": "172882127532252",
    "uploader_name": "Team Tiger Shroff",
    "media_type": "video",
    "quality": "HD",
    "duration": 15,
    "duration_formatted": "00:15",
    "download_url": "https://scontent-bom5-1.xx.fbcdn.net/o1/v/t2/f2/m367/AQNXu...mp4",
    "audio_download_url": "https://scontent-bom5-1.xx.fbcdn.net/o1/v/t2/f2/m78/AQMum...mp4",
    "thumbnail_url": "https://scontent-bom5-2.xx.fbcdn.net/v/t51.71878-10/...jpg",
    "download_options": [
      {
        "quality": "HD (1080p)",
        "format": "MP4",
        "url": "https://scontent-bom5-1.xx.fbcdn.net/...mp4"
      },
      {
        "quality": "Audio",
        "format": "M4A",
        "url": "https://scontent-bom5-1.xx.fbcdn.net/...mp4"
      }
    ],
    "kv_store_url": "https://api.apify.com/v2/key-value-stores/.../records/...",
    "status": "success",
    "timestamp": "2026-10-20T16:00:00.000Z"
  }
]
```

#### 📝 Output Field Documentation

| Field | Type | Description |
|---|---|---|
| `story_no` | Integer | Sequential story number within the requested run |
| `story_id` | String | Unique Facebook Story / Media ID |
| `url` | String | Input Facebook Story URL |
| `user_id` | String | Profile or Page ID of the story creator |
| `uploader_name` | String | Display name of the story creator or page |
| `media_type` | String | Type of media (`video` or `image`) |
| `quality` | String | Stream quality label (`HD`, `SD`, or `original`) |
| `duration_formatted` | String | Story duration in `MM:SS` format (e.g. `00:15`) |
| `download_url` | String | Direct Facebook CDN high-speed video/image download link |
| `audio_download_url` | String | Direct Facebook CDN audio stream download link |
| `thumbnail_url` | String | Direct story poster/preview image link |
| `kv_store_url` | String | Permanent Apify Key-Value Store file URL |
| `download_options` | Array | Available resolution and audio stream options |
| `status` | String | Processing status (`success` or `failed`) |

***

### 🎨 Quality Tiers Available

This **Facebook Story Downloader** automatically detects and provides multiple quality options:

#### 🎥 Video Stories

1. **High Definition** - 1280x720 (720p) with optimal compression
2. **Standard Definition** - 854x480 (480p) for bandwidth efficiency
3. **Progressive Formats** - Adaptive streaming support

#### 🖼️ Image Stories

1. **Original Quality** - Maximum resolution as uploaded
2. **Optimized Delivery** - CDN-optimized for fast downloads

Each quality tier is delivered with direct Facebook CDN links for maximum reliability.

***

### 🔬 Technical Features

#### 🔄 Advanced Format Detection

- Automatic video vs. image classification
- Multiple quality level extraction
- Direct CDN link resolution
- Format compatibility verification

#### 📈 Smart Processing

- Batch URL processing optimization
- Single/multi-story mode auto-detection
- Parallel download capability
- Memory-efficient streaming

#### 🛡️ Reliability Features

- Direct Facebook CDN access
- Comprehensive error handling
- URL validation and normalization
- Rate limit awareness
- Retry logic for transient failures

***

### 💼 Use Cases

- **Social Media Managers** – Archive client Stories content
- **Content Creators** – Repurpose Stories for other platforms
- **Digital Archivists** – Preserve ephemeral social media content
- **Researchers** – Study storytelling patterns and engagement
- **Marketers** – Analyze competitor Story strategies
- **App Developers** – Build Story-powered applications

Using this **Facebook Story Downloader** ensures you have reliable access to Facebook Stories for all these applications.

***

#### ✅ Why Choose Our Facebook Story Downloader?

- **Professional Grade**: Enterprise-level reliability and performance
- **User-Friendly**: Simple interface requiring only story URLs
- **Comprehensive**: Handles both single and multiple stories
- **Direct Access**: Uses official Facebook CDN links
- **Regular Updates**: Maintained for Facebook API changes
- **Batch Processing**: Efficient multi-story handling

This **Facebook Story Downloader** is designed to be the most reliable tool for Facebook Story extraction on Apify.

***

#### ⚠️ Limitations

- Only works with public Facebook Stories
- May be subject to Facebook's rate limiting
- Requires valid story URLs with proper permissions
- Download availability depends on Facebook's content policies

### 🔗🛠 Related Actors (Full Content Suite)

Explore our full scraping suite for enhanced content extraction:

#### 🎥 YouTube Scrapers:

- [YouTube Video Scraper](https://apify.com/codenest/youtube-video-scraper)
- [YouTube Video Search Scraper](https://apify.com/codenest/youtube-video-search-scraper)
- [YouTube Video Extractor](https://apify.com/codenest/youtube-video-extractor)
- [YouTube Shorts & Video Downloader](https://apify.com/codenest/youtube-shorts-video-downloader)
- [YouTube Video Downloader](https://apify.com/codenest/youtube-video-downloader)
- [YouTube Shorts Scraper & Downloader](https://apify.com/codenest/youtube-shorts-scraper-downloader)
- [YouTube Shorts Downloader](https://apify.com/codenest/youtube-shorts-downloader)
- [YouTube Thumbnail Scraper & Downloader](https://apify.com/codenest/youtube-thumbnail-scraper-downloader)
- [YouTube Video  Scraper & Downloader](https://apify.com/codenest/youtube-video-scraper-downloader)
- [YouTube Image Post Scraper](https://apify.com/codenest/youtube-image-post-scraper)

#### Facebook Scrapers:

- [Facebook Page Scraper](https://apify.com/codenest/facebook-page-scraper)
- [Facebook Reels Downloader](https://apify.com/codenest/facebook-reels-downloader)
- [Facebook Reels Audio Downloader](https://apify.com/codenest/facebook-reels-audio-downloader)
- [Facebook Thumbnail Downloader](https://apify.com/codenest/facebook-thumbnail-downloader)
- [Facebook Post Scraper](https://apify.com/codenest/facebook-post-scraper)
- [Facebook Reels Scraper & Reels Downloader](https://apify.com/codenest/facebook-reels-scraper-reels-downloader)
- [Facebook Story Downloader](https://apify.com/codenest/facebook-story-downloader)
- [Facebook Post Downloader](https://apify.com/codenest/facebook-post-downloader)
- [Facebook Reels Scraper](https://apify.com/codenest/facebook-reels-scraper)
- [Facebook Story Scraper](https://apify.com/codenest/facebook-story-scraper)

#### 📱 Instagram Scrapers:

- \[Instagram Story Downloader]\(https://apify.com/codenest/instagram-story-downloader
- [Instagram Story Scraper](https://apify.com/codenest/instagram-story-scraper)
- [Instagram Video Search Scraper](https://apify.com/codenest/instagram-video-search-scraper)
- [Instagram Post Downloader (Image & Video)](https://apify.com/codenest/instagram-post-downloader-image-video)
- [Instagram Reels Scraper & Downloader](https://apify.com/codenest/instagram-reels-downloader-scraper)
- [Instagram Reels Audio Downloader](https://apify.com/codenest/instagram-reels-audio-downloader)
- [Instagram Profile Scraper](https://apify.com/codenest/instagram-profile-scraper)
- [Instagram Post Scraper](https://apify.com/codenest/instagram-post-scraper)
- [Instagram Reels Scraper Pro](https://apify.com/codenest/instagram-reels-scraper-pro)
- [Instagram Profile List Scraper](https://apify.com/codenest/instagram-profile-list-scraper)
- [Instagram Post Comments Scraper](https://apify.com/codenest/instagram-post-comments-scraper)
- [Instagram Post Scraper Pro](https://apify.com/codenest/instagram-post-scraper-pro)

#### 🏭 Supplier Scrapers:

- [Made In China Supplier/Company Scraper](https://apify.com/codenest/made-in-china-supplier-company-scraper) - YOU ARE HERE
- [Zillow Agent Profile Scraper](https://apify.com/codenest/zillow-agent-profile-scraper)

#### 📊 Product Scrapers:

- [Made in China Product Scraper](https://apify.com/codenest/made-in-china-product-scraper)
- [Made In China Top Ranking Product Scraper](https://apify.com/codenest/made-in-china-top-ranking-product-scraper)
- [Zillow Property Scraper](https://apify.com/codenest/zillow-property-scraper)
- [Alibaba Product Scraper](https://apify.com/codenest/alibaba-product-scraper)
- [Amazon Product Scraper](https://apify.com/codenest/amazon-product-scraper)
- [Amazon Deals Scraper](https://apify.com/codenest/amazon-deals-scraper)
- [Zillow Property & Apartment Scraper](https://apify.com/codenest/zillow-property-apartment-scraper)
- [Made In China Product & Company Details Scraper](https://apify.com/codenest/made-in-china-product-company-details-scraper)

#### 📊 Wellfound Scrapers:

- [Wellfound Job & Company Details Scraper](https://apify.com/codenest/wellfound-job-company-details-scraper)
- [Wellfound Startup Company Scraper](https://apify.com/codenest/wellfound-startup-company-scraper)
- [Wellfound Job Listings Scraper](https://apify.com/codenest/wellfound-job-listings-scraper)
- [Alibaba Product Scraper](https://apify.com/codenest/alibaba-product-scraper)

#### 📊 Alibaba Scrapers:

- [Alibaba Supplier/Company Details Scraper](https://apify.com/codenest/alibaba-supplier-company-details-scraper)
- [Alibaba Product Listings Scraper](https://apify.com/codenest/alibaba-product-listings-scraper)
- [Alibaba Supplier/Company Listings Scraper](https://apify.com/codenest/alibaba-supplier-company-listings-scraper)
- [Alibaba Product Scraper](https://apify.com/codenest/alibaba-product-scraper)

#### Linkedin Specialized Actors:

- [Linkedin Post Scraper](https://apify.com/codenest/linkedin-post-scraper)
- [Linkedin Profile Scraper](https://apify.com/codenest/linkedin-profile-scraper)
- [Linkedin Job Search Scraper](https://apify.com/codenest/linkedin-job-search-scraper)
- [Linkedin Company Scraper](https://apify.com/codenest/linkedin-company-scraper)

#### 📱 TikTok Scrapers:

- [TikTok Video Scraper & Downloader](https://apify.com/codenest/tiktok-video-scraper-downloader)
- [TikTok Scraper](https://apify.com/codenest/tiktok-scraper)
- [TikTok Profile Scraper](https://apify.com/codenest/tiktok-profile-scraper)
- [TikTok Hashtag Scraper](https://apify.com/codenest/tiktok-hashtag-scraper)

#### 🐦 Twitter/X.com Specialized Actors:

- [Twitter (X.com) Video Post Scraper](https://apify.com/codenest/twitter-x-com-video-post-scraper)
- [Twitter (X.com) Image Downloader](https://apify.com/codenest/twitter-x-com-image-downloader)
- [Twitter(X.com) Tweets Scraper](https://apify.com/codenest/twitter-x-com-tweets-scraper)
- [Twitter (X.com) mp3/Audio Downloader](https://apify.com/codenest/twitter-x-com-mp3-audio-downloader)

##### 📱 Snapchat Scrapers:

- [Snapchat Story Scraper](https://apify.com/codenest/snapchat-story-scraper)
- [Snapchat Spotlight Scraper](https://apify.com/codenest/snapchat-spotlight-scraper)

#### Reddit Scrapers:

- [Reddit Video & Image Post Scraper](https://apify.com/codenest/reddit-video-image-post-scraper)

#### Dailymotion Scrapers:

- [Dailymotion Video Downloader](https://apify.com/codenest/dailymotion-video-downloader)

#### Spotify Scrapers:

- [Spotify Track Music Downloader](https://apify.com/codenest/spotify-track-music-downloader)
- [Spotify Music/Mp3 Downloader](https://apify.com/codenest/spotify-music-mp3-downloader)

#### Tumblr Scrapers:

- [Tumblr Scraper](https://apify.com/codenest/tumblr-scraper)

#### Loom Scrapers:

- [Loom Video Downloader](https://apify.com/codenest/loom-video-downloader)

#### VK Scrapers:

- [VK Video Downloader](https://apify.com/codenest/vk-video-downloader)

***

### 📧 Need Customization?

Want \*higher resolutions, \*\*automated scheduling, or \**metadata enhancements* for this **Facebook Story Downloader**?

✉ Email *<codenest2.0@gmail.com>* for tailored solutions!

***

*Note: This **Facebook Story Downloader** is designed for legitimate content archiving and research purposes. Always respect copyright and terms of service when downloading content.*

# Actor input Schema

## `story_urls` (type: `array`):

A list of public Facebook Stories URLs. Each item can be a string URL or an object with {"url": "https://..."}.

## `language` (type: `string`):

Language code for the API (default: en)

## `delayBetweenRequests` (type: `number`):

Delay in seconds between API requests to avoid rate limiting (default: 1)

## `maxRetries` (type: `number`):

Maximum number of retries for rate-limited requests (default: 3)

## `proxy` (type: `object`):

Proxy settings for the actor. Default uses US Residential proxies.

## `cookies` (type: `string`):

Optional Facebook cookies (Netscape format or key=value string) for authenticated story extraction.

## Actor input object example

```json
{
  "story_urls": [
    {
      "url": "https://www.facebook.com/stories/171905157633541/UzpfSVNDOjEzMTgzNjY0NzM2ODc5MDg=/"
    }
  ],
  "language": "en",
  "delayBetweenRequests": 1,
  "maxRetries": 3,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Default dataset containing extracted Facebook stories, playable media URLs, thumbnails, qualities, and author metadata.

## `output` (type: `string`):

Full aggregated stories output stored in default Key-Value Store.

# 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 = {
    "story_urls": [
        {
            "url": "https://www.facebook.com/stories/171905157633541/UzpfSVNDOjEzMTgzNjY0NzM2ODc5MDg=/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("codenest/facebook-story-downloader").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 = { "story_urls": [{ "url": "https://www.facebook.com/stories/171905157633541/UzpfSVNDOjEzMTgzNjY0NzM2ODc5MDg=/" }] }

# Run the Actor and wait for it to finish
run = client.actor("codenest/facebook-story-downloader").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 '{
  "story_urls": [
    {
      "url": "https://www.facebook.com/stories/171905157633541/UzpfSVNDOjEzMTgzNjY0NzM2ODc5MDg=/"
    }
  ]
}' |
apify call codenest/facebook-story-downloader --silent --output-dataset

```

## MCP server setup

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

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/Of4W4BioHZO1cehJO/builds/mBcmahhup7aREr3bU/openapi.json
