# Flashback New Replies (`thescrapelab/flashback-new-replies`) Actor

Scrape public Flashback Forum threads and monitor new replies. Export original Swedish text, timestamps, post IDs, permalinks and quote links.

- **URL**: https://apify.com/thescrapelab/flashback-new-replies.md
- **Developed by:** [Inus Grobler](https://apify.com/thescrapelab) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.40 / 1,000 delivered posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Flashback Forum Scraper and Reply Monitor

**Flashback New Replies** exports original Swedish posts from public Flashback Forum threads. Run the same saved Apify task to pick up where it left off. Every row includes the post ID, Stockholm posting time, permalink, and explicit links to quoted posts where available.

Use it to follow Swedish-language discussions for media monitoring, collect citable posts for reporting, or export a forum thread for research. Download the results as JSON or CSV from the run dataset.

### Export a Flashback thread

1. Paste one to ten public Flashback thread URLs into **Public thread URLs**.
2. Set **Maximum posts per thread** to limit each run. Use a page URL such as `https://www.flashback.org/t3688745p3` to start that thread on page 3.
3. Start the Actor and open **Replies** to view the results. Save the input as a task before the first export if you want later runs to resume from the last delivered post.

```json
{
  "startUrls": [{ "url": "https://www.flashback.org/t3666064" }],
  "maxPostsPerThread": 10
}
```

### Monitor new replies

The first run starts from the oldest post on or after the selected page. Later runs of the same saved task resume after each thread's last delivered post. The Actor takes turns across the watchlist and preserves oldest-first order within each thread. A quiet run can return zero rows.

Open **Run summary** to see how many posts came from the initial backlog and how many were posted after the thread was first observed. For long threads or larger watchlists, Flashback's crawl delay can limit how much one run can collect. The summary flags a budget stop and lists any unchecked threads in `uncheckedThreadIds`. Start the same saved task again to continue. A new one-off Actor run restarts the export.

### What's in the dataset

Each row contains the author's visible Swedish wording and a separate `quotes` array. `postedAt` uses Stockholm local time at the source's minute precision. `scrapedAt` records when the Actor collected the post in UTC. A quote without an explicit source link retains its text and has null ID and URL.

Illustrative output

```json
{
  "threadId": "42",
  "threadTitle": "Vad händer?",
  "postId": "105",
  "postedAt": "2026-11-22T17:04",
  "scrapedAt": "2026-11-22T16:05:00.000Z",
  "sourceUrl": "https://www.flashback.org/p105#p105",
  "text": "Hallå! Jag följer tråden.",
  "quotes": [
    {
      "quotedPostId": "100",
      "sourceUrl": "https://www.flashback.org/p100#p100",
      "text": "Finns det några uppdateringar?"
    }
  ]
}
```

### Run a saved task from Python

Use the Apify Python client 3.x. Set `FLASHBACK_TASK_ID` to the ID of a saved task configured with your thread URLs.

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.task(os.environ["FLASHBACK_TASK_ID"]).call()

if run is None or run.status != "SUCCEEDED":
    raise RuntimeError("Open the Apify run to check its status.")

for post in client.dataset(run.default_dataset_id).iterate_items():
    print(post["postId"], post["sourceUrl"], post["text"])
```

### Recover an interrupted saved task

If a run requests recovery, wait for the previous run to finish. Open the **Advanced recovery** section on the same saved task and select the earlier dataset named in the run status or `SUMMARY.unresolvedDatasetId`. API callers can pass that dataset ID as `recoveryDataset`.

Rows already delivered stay in the earlier dataset, listed in `SUMMARY.recovered.datasetId`. The new run continues with the undelivered posts. Clear the recovery selection after a successful run. If the earlier dataset has expired, is unreadable, or has changed, the Actor stops and preserves the checkpoint.

### Scope and limits

The Actor reads public Flashback thread HTML at the published crawl delay. It follows new replies from the URLs you supply. Edits and deletions do not create update events. The task checkpoint holds IDs and page positions. The datasets that contain the post text follow your Apify retention settings. For a run that stops because restricted access could not be confirmed, see the run status before retrying.

# Actor input Schema

## `startUrls` (type: `array`):

Paste Flashback thread URLs. A page-specific URL starts a new thread export on that page.

## `maxPostsPerThread` (type: `integer`):

Optional per-run limit for each thread. Omit to continue until the observed end or the request budget.

## `recoveryDataset` (type: `string`):

If a saved-task run reports an interrupted append, select the earlier run dataset identified in its summary. Leave blank for normal runs.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.flashback.org/t3666064"
    }
  ],
  "maxPostsPerThread": 10
}
```

# Actor output Schema

## `replies` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://www.flashback.org/t3666064"
        }
    ],
    "maxPostsPerThread": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrapelab/flashback-new-replies").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 = {
    "startUrls": [{ "url": "https://www.flashback.org/t3666064" }],
    "maxPostsPerThread": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("thescrapelab/flashback-new-replies").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 '{
  "startUrls": [
    {
      "url": "https://www.flashback.org/t3666064"
    }
  ],
  "maxPostsPerThread": 10
}' |
apify call thescrapelab/flashback-new-replies --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thescrapelab/flashback-new-replies"
        }
    }
}
```

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/DQ5ZNh21uKzp4jJWs/builds/VVcCdOr9S28pWMqgq/openapi.json
