# Fragrantica Forum Comment Poster (`scrapyspider/fragrantica-forum-comment-poster`) Actor

Post comments on Fragrantica forum threads using your account. Automatically embeds perfume and brand links, bypasses anti-bot protection, and returns structured results.

- **URL**: https://apify.com/scrapyspider/fragrantica-forum-comment-poster.md
- **Developed by:** [ScrapySpider](https://apify.com/scrapyspider) (community)
- **Categories:** Automation, Social media, Other
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, NaN 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/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### Fragrantica Forum Comment Poster

Posts comments on Fragrantica.com forum threads from your own account — with automatic perfume link embedding — using anti-bot protection to bypass Cloudflare and login challenges.

- Logs in to your Fragrantica account and posts your comment to any forum thread
- Auto-detects perfume and brand names in your comment text and embeds proper Fragrantica in-site search links
- Bypasses Cloudflare Turnstile and anti-bot protection using Patchright (undetectable Chrome automation)
- Saves session cookies between runs — no repeated logins
- Outputs structured result data: post URL, keywords linked, comment text, status, and any error messages
- Uses residential US proxies automatically — no proxy setup required

---

#### What data does it extract?

Each run produces one dataset record:

**Comment result:** post URL, original comment text, final posted comment (after keyword embedding)

**Keyword processing:** comma-separated list of perfume/brand names found in your comment and linked via Fragrantica's perfume search

**Run metadata:** timestamp, status (`success` / `error` / `failed`), error message (if the post was rejected or flagged as spam)

Output is available as JSON, CSV, or Excel via the Apify dataset export.

---

#### Use cases

- **Brand promotion:** Post mentions of your fragrance brand or product line in relevant Fragrantica forum threads, with automatic perfume page links embedded
- **Community engagement:** Contribute to fragrance discussions at scale using consistent, pre-written comment templates
- **Perfume marketing:** Promote specific fragrances in niche community threads where buyers and enthusiasts are already active
- **Content seeding:** Seed discussion threads with informative comments that link back to specific perfume pages on Fragrantica
- **Account management:** Manage multiple Fragrantica accounts and post targeted comments to specific forum posts programmatically

---

#### How to use

1. Click **Try for free** above
2. In the **Input** tab, enter your Fragrantica **Username** and **Password**
3. Paste the full URL of the forum post you want to comment on into **Forum Post URL**
4. Write your **Comment Text** — include any perfume or brand names you want auto-linked
5. (Optional) Add a custom **Perfume Keywords to Link** list — brand/perfume names to detect and embed as search links
6. Click **Start** and download results from the **Output** tab when complete

---

#### Input parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `username` | String | Yes | Your Fragrantica forum username |
| `password` | String | Yes | Your Fragrantica forum password (stored securely, never logged) |
| `post_url` | String | Yes | Full URL of the forum post to comment on. Example: `https://www.fragrantica.com/board/viewtopic.php?id=12345` |
| `comment_text` | String | Yes | The comment to post. Any perfume/brand names matching the keywords list will be auto-linked. |
| `keywords` | Array of strings | No | Perfume or brand names to detect in comment text and embed as Fragrantica links. Defaults to a built-in list if not provided. |

---

#### Output example

```json
{
  "post_url": "https://www.fragrantica.com/board/viewtopic.php?id=12345",
  "found_keywords": "Kierin, Sunday Brunch",
  "original_comment_text": "Great discussion! I recently tried Kierin NYC's Sunday Brunch and it's absolutely wonderful.",
  "final_posted_comment": "Great discussion! I recently tried Kierin NYC's Sunday Brunch and it's absolutely wonderful.",
  "timestamp": "2025-03-15T10:23:45.000Z",
  "status": "success",
  "error_message": null
}
````

***

#### Pricing

This Actor is **free to use** — you only pay for Apify platform compute time and proxy usage.

A typical run costs approximately **$0.02–$0.05** in Apify platform credits (browser-based run, ~2–3 minutes).

New Apify accounts receive **$5 in free credits** — enough for 100–250 comment runs.

***

#### Technical notes

- **Fragrantica account required:** You must have a registered Fragrantica forum account. The Actor uses your credentials to log in.
- **Residential proxies:** Apify residential US proxies are used automatically — no additional proxy configuration needed.
- **Anti-bot:** Uses Patchright (patched Chrome via CDP) in non-headless mode with human-like mouse movements and delays. Handles Cloudflare Turnstile automatically.
- **Session reuse:** Session cookies are saved after the first login and reused on subsequent runs to reduce login overhead.
- **Post locking:** If the target forum post is locked or archived, the Actor will report a `failed` status with a descriptive error message.
- **Keyword fallback:** If a keyword is not found in Fragrantica's perfume search dropdown, it is typed directly as plain text into the comment.
- **One post per run:** Each Actor run targets a single forum post URL.

***

#### Support

Have questions or found a bug? Reach out:

- **Email:** ScrapySpider@protonmail.com
- **Website:** ScrapySpider.com
- **Apify:** Open a support issue on this Actor page
- **Response time:** Within 24–48 hours on weekdays

# Actor input Schema

## `username` (type: `string`):

Your Fragrantica forum username used to log in.

## `password` (type: `string`):

Your Fragrantica forum password. Stored securely and never logged.

## `post_url` (type: `string`):

Full URL of the Fragrantica forum post to comment on. Example: https://www.fragrantica.com/board/viewtopic.php?id=12345

## `comment_text` (type: `string`):

The comment to post. If your text contains any perfume/brand names listed in the Keywords field, the Actor will automatically search for and embed proper Fragrantica perfume links in your comment.

## `keywords` (type: `array`):

List of perfume or brand names to detect in your comment text and embed as Fragrantica search links. If not provided, a built-in list of fragrance brand names is used as the default.

## Actor input object example

```json
{
  "comment_text": "Great discussion! I recently tried Kierin NYC's Sunday Brunch and it's absolutely wonderful.",
  "keywords": [
    "Kierin",
    "Nitro Noir",
    "Sunday Brunch",
    "Santal Sky",
    "10 am Flirt",
    "10 a.m. Flirt",
    "Rose Ink",
    "Pier NY",
    "Pier New York",
    "Santal Park",
    "ScentXone",
    "ScentXme",
    "Cafe Kiss",
    "Island Haze",
    "American perfume",
    "Maine de Biran",
    "Mathieu Nardin",
    "Jerome Epinette"
  ]
}
```

# Actor output Schema

## `overview` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapyspider/fragrantica-forum-comment-poster").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("scrapyspider/fragrantica-forum-comment-poster").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call scrapyspider/fragrantica-forum-comment-poster --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapyspider/fragrantica-forum-comment-poster",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Fragrantica Forum Comment Poster",
        "description": "Post comments on Fragrantica forum threads using your account. Automatically embeds perfume and brand links, bypasses anti-bot protection, and returns structured results.",
        "version": "0.1",
        "x-build-id": "z6bju6fLVB9eauCLT"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapyspider~fragrantica-forum-comment-poster/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapyspider-fragrantica-forum-comment-poster",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapyspider~fragrantica-forum-comment-poster/runs": {
            "post": {
                "operationId": "runs-sync-scrapyspider-fragrantica-forum-comment-poster",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapyspider~fragrantica-forum-comment-poster/run-sync": {
            "post": {
                "operationId": "run-sync-scrapyspider-fragrantica-forum-comment-poster",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "username",
                    "password",
                    "post_url",
                    "comment_text"
                ],
                "properties": {
                    "username": {
                        "title": "Fragrantica Username",
                        "type": "string",
                        "description": "Your Fragrantica forum username used to log in."
                    },
                    "password": {
                        "title": "Fragrantica Password",
                        "type": "string",
                        "description": "Your Fragrantica forum password. Stored securely and never logged."
                    },
                    "post_url": {
                        "title": "Forum Post URL",
                        "type": "string",
                        "description": "Full URL of the Fragrantica forum post to comment on. Example: https://www.fragrantica.com/board/viewtopic.php?id=12345"
                    },
                    "comment_text": {
                        "title": "Comment Text",
                        "type": "string",
                        "description": "The comment to post. If your text contains any perfume/brand names listed in the Keywords field, the Actor will automatically search for and embed proper Fragrantica perfume links in your comment.",
                        "default": "Great discussion! I recently tried Kierin NYC's Sunday Brunch and it's absolutely wonderful."
                    },
                    "keywords": {
                        "title": "Perfume Keywords to Link",
                        "type": "array",
                        "description": "List of perfume or brand names to detect in your comment text and embed as Fragrantica search links. If not provided, a built-in list of fragrance brand names is used as the default.",
                        "items": {
                            "type": "string"
                        },
                        "default": [
                            "Kierin",
                            "Nitro Noir",
                            "Sunday Brunch",
                            "Santal Sky",
                            "10 am Flirt",
                            "10 a.m. Flirt",
                            "Rose Ink",
                            "Pier NY",
                            "Pier New York",
                            "Santal Park",
                            "ScentXone",
                            "ScentXme",
                            "Cafe Kiss",
                            "Island Haze",
                            "American perfume",
                            "Maine de Biran",
                            "Mathieu Nardin",
                            "Jerome Epinette"
                        ]
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
