# Facebook Video Transcript Scraper (`codenest/facebook-video-transcript-scraper`) Actor

Effortlessly & fast extract precise Facebook video transcripts with timed segments, plain text arrays, and complete metadata including titles, descriptions, and thumbnails using this very useful  & powerful Facebook Video Transcript Scraper. Try it now.❤️Facebook Video Transcript Scraper❤️.

- **URL**: https://apify.com/codenest/facebook-video-transcript-scraper.md
- **Developed by:** [CodeNest](https://apify.com/codenest) (community)
- **Categories:** Social media, Videos, Automation
- **Features:** Limited permissions
- **Stats:** 17 total users, 2 monthly users, 96.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Video Transcript Scraper - Professional Caption Extraction Tool

**Efficiently extract Facebook video transcripts with our powerful Facebook Video Transcript Scraper! This Apify actor enables you to batch download accurate captions with precise timestamps, comprehensive metadata, and structured text formats.**

***

### 📋 Overview

Need to analyze Facebook video content or repurpose captions? This **Facebook Video Transcript Scraper** delivers:

- **Timed transcripts**: Get text with exact timestamps
- **Structured formats**: Both segmented and full-text output
- **Full metadata**: Titles, descriptions, thumbnails
- **Bulk processing**: Handle multiple videos per run

Perfect for content analysts 📊, researchers 🔍, accessibility teams ♿, and AI training projects 🤖!

### 🚀 Core Capabilities/Key Features

#### 📝 Transcript Options

- **Timed Segments**: Text with start/end timestamps
- **Full Text**: Continuous transcript without timestamps
- **Structured JSON**: Organized data for easy parsing
- **Bulk Mode**: Process multiple Facebook videos per run

#### 🔍 Metadata Mastery

- **Video Titles**: Complete video title extraction
- **Descriptions**: Full video description text
- **Thumbnail URLs**: High-quality preview images
- **Source URLs**: Original Facebook video links

#### ⚡ Advanced Tech

- **Smart Parsing**: Accurate transcript detection
- **Format Options**: Multiple output structures
- **Error Handling**: Robust failure recovery
- **Batch Processing**: Efficient multi-video handling

***

### ⚙️ Input Configuration

Just enter the Facebook video URLs in the Input Section then click the "start" button and wait for the results. The **Facebook Video Transcript Scraper** accepts input like this:

```json
{
  "post_urls": [
    {
      "url": "https://web.facebook.com/watch?v=10158233748371469"
    }
  ]
}
```

#### 📥 Input Specifications

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `post_urls` | Array | Yes | Facebook video URLs to process |
| `url` | String | Yes | Valid Facebook video URL (watch?v= format) |

***

### 📊 Output Structure

The **Facebook Video Transcript Scraper** provides comprehensive output like this:

```json
[
  {
    "url": "https://www.facebook.com/watch?v=10158233748371469",
    "title": "Here comes the Bean!",
    "description": "Here comes the Bean! 👰 🎩",
    "thumbnail_url": "https://scontent-mia5-1.xx.fbcdn.net/v/t15.5256-10/71138839_10158233777576469_5231012459760312888_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=be8305&_nc_ohc=p22hzQeT_PcQ7kNvwHOaXPB&_nc_oc=Adk9jupcWszevH7JVjp0SIxD-_zTedzQdLNhNayN4SX8jdLzbKcZ0v370B0uSWPz_iU&_nc_zt=23&_nc_ht=scontent-mia5-1.xx&_nc_gid=Sg1XhkuujunccThR4Y7ZTg&oh=00_AfiJkb-qOmrx-GkrU-1ueuJ9FL1T7jy0tWZNaD19H4iGKg&oe=69308AF9",
    "transcript": [
      {
        "start": 0.161,
        "end": 3.861,
        "text": "1 In the name of the father, of the son, and the Holy Spirit."
      }
    ],
    "transcript_text": [
      "1 In the name of the father, of the son, and the Holy Spirit.",
      "2 We've come together today to witness the marriage of Daniel"
    ]
  }
]
```

#### 📋 Output Field Documentation

**Metadata Section**
| Field | Description |
|-------|-------------|
| `url` | Original Facebook video URL |
| `title` | Complete video title |
| `description` | Full video description text |
| `thumbnail_url` | High-quality thumbnail image URL |

**Transcript Data**
| Field | Description |
|-------|-------------|
| `transcript` | Array of timed transcript segments |
| `start` | Segment start time in seconds |
| `end` | Segment end time in seconds |
| `text` | Transcript text for the segment |
| `transcript_text` | Array of full text lines without timestamps |

***

### 🎯 Quality Features

The **Facebook Video Transcript Scraper** automatically detects and provides multiple transcript formats:

1. **Timed Transcripts** - Precise timestamp alignment for video editing
2. **Full Text Output** - Continuous text for analysis and reading
3. **Structured Data** - Organized JSON for easy integration
4. **Raw Segments** - Original transcript chunks as detected

Each format serves different professional workflows and use cases.

***

### 🔧 Technical Features

#### 🎪 Advanced Transcript Support

- **Timestamp precision**: Millisecond-accurate timing
- **Segment detection**: Smart text chunk identification
- **Multiple formats**: Both timed and continuous outputs
- **Encoding support**: Unicode and special character handling

#### 📊 Metadata Extraction

- **Complete titles**: Full video title preservation
- **Description text**: Comprehensive video descriptions
- **Media URLs**: Thumbnail and source link extraction
- **Structural data**: Organized output formatting

#### 💪 Reliability Features

- **Direct extraction**: Maximum accuracy and reliability
- **Error recovery**: Comprehensive failure handling
- **URL validation**: Input normalization and verification
- **Batch processing**: Efficient multi-video handling

***

### 🎯 Use Cases

- **Content Analysts** – Analyze video content trends and topics
- **Accessibility Teams** – Create captions for hearing impaired
- **AI Researchers** – Train machine learning models with transcript data
- **Social Managers** – Repurpose video content as blog posts or articles
- **Legal Teams** – Document video content for compliance and evidence
- **Educators** – Create study materials from educational videos

***

#### 💡 Why Choose Our Facebook Video Transcript Scraper?

- **Accurate Extraction**: Reliable transcript detection and parsing
- **User-Friendly**: Simple interface for both beginners and advanced users
- **Regular Updates**: Maintained to ensure compatibility with Facebook changes
- **Comprehensive Data**: Get both timed and full-text transcripts in one place
- **Structured Output**: Well-organized JSON for easy integration

***

#### ⚠️ Limitations

- Only works with Facebook videos that have available transcripts
- The **Facebook Video Transcript Scraper** may depend on transcript availability in the source video
- Performance may vary based on Facebook's interface changes

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

Explore our full scraping suite for enhanced Facebook and social media scraping:

#### 📹 Facebook Scrapers:

- [Facebook Video Downloader](https://apify.com/codenest/facebook-video-downloader)
- [Facebook Reels Downloader](https://apify.com/codenest/facebook-reels-downloader)

#### 🎥 YouTube Scrapers:

- [YouTube Video Scraper](https://apify.com/codenest/youtube-video-scraper)
- [YouTube Video Transcript Scraper](https://apify.com/codenest/youtube-video-transcript-scraper)
- [YouTube Video Extractor](https://apify.com/codenest/youtube-video-extractor)

***

### 📧 Need Customization?

Want \*custom transcript formats, \*\*batch processing enhancements, or \**additional metadata fields*?

✉ Email *<codenest2.0@gmail.com>* for tailored solutions using our **Facebook Video Transcript Scraper**!

***

*The **Facebook Video Transcript Scraper** is your go-to solution for efficient Facebook video caption extraction and analysis. Try it today and streamline your transcript workflow!*

# Actor input Schema

## `post_urls` (type: `array`):

List of public Facebook video post URLs.

## Actor input object example

```json
{
  "post_urls": [
    {
      "url": "https://web.facebook.com/watch/?v=783325287492075"
    },
    {
      "url": "https://web.facebook.com/watch/?v=1374855850246642"
    }
  ]
}
```

# 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 = {
    "post_urls": [
        {
            "url": "https://web.facebook.com/watch/?v=783325287492075"
        },
        {
            "url": "https://web.facebook.com/watch/?v=1374855850246642"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("codenest/facebook-video-transcript-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 = { "post_urls": [
        { "url": "https://web.facebook.com/watch/?v=783325287492075" },
        { "url": "https://web.facebook.com/watch/?v=1374855850246642" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("codenest/facebook-video-transcript-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 '{
  "post_urls": [
    {
      "url": "https://web.facebook.com/watch/?v=783325287492075"
    },
    {
      "url": "https://web.facebook.com/watch/?v=1374855850246642"
    }
  ]
}' |
apify call codenest/facebook-video-transcript-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codenest/facebook-video-transcript-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/doJpBcsbuHedG2rT3/builds/ELeAjhlegsNVPbpD1/openapi.json
