> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# React to Farcaster Cast

Like or recast a Farcaster cast via Neynar API. Requires a connected Farcaster account with signer. Supports 'like' and 'recast' reaction types. Ideal for: engagement automation, community interaction, content curation, appreciation bots.

![React to Farcaster Cast logo](https://ai-icon.b3.fun/logo/farcaster)
Catalog action Social farcaster

Like or recast a Farcaster cast via Neynar API. Requires a connected Farcaster account with signer. Supports 'like' and 'recast' reaction types. Ideal for: engagement automation, community interaction, content curation, appreciation bots.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `react-farcaster-cast` |
| Category | Social |
| Connector | `farcaster` |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `social`, `farcaster`, `neynar`, `reaction`, `like`, `recast`, `write` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `castHash` | `string` | Yes | Hash of the cast to react to |
| `reactionType` | `string` | Yes | Type of reaction: 'like' or 'recast' |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | `string` | Yes | Status of the reaction operation |
| `reactionType` | `string` | No | Type of reaction applied |
| `castHash` | `string` | No | Hash of the cast reacted to |
| `error` | `string` | No | Error message if the reaction failed |

## Examples

**Workflow node**

```json
{
  "type": "react-farcaster-cast",
  "payload": {
    "castHash": "example-castHash",
    "reactionType": "like"
  },
  "children": [],
  "connector": {
    "type": "farcaster",
    "id": "conn_farcaster"
  }
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/react-farcaster-cast/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "castHash": "example-castHash",
    "reactionType": "like"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.