Fetches reactions for a given cast

farcasterReaction.getCastReaction

Overview

Fetches reactions for a given cast

Parameters

name
type
required
Note

hash

string

true

ex) "0xfa6e2aad1b1cb8fd7037b93382c68264f77c00be"

types

string

true

"all", "likes" or "recasts"

viewer_fid

number

false

ex) 3

limit

number

false

default: 25, max: 100

cursor

string

false

ex) eyJwYWdlIjoyfQ==

Usage

let res = await Lum0x.farcasterReaction.getCastReaction({
    hash: "0xfa6e2aad1b1cb8fd7037b93382c68264f77c00be",
    types: "all",
    limit: 3
});
console.log(JSON.stringify(res, null, 2));

Response

Reaction Type
Timestamp
Username
Display Name
Profile Picture
Bio
Follower Count
Following Count
Power Badge

Like

2024-07-27T11:29:29

yukisato.eth

Yuki Sato

Yuki Sato

22y / building smtg onchain and fun /triviatech /jp /tokyowip /farcon-tokyo

2234

649

Yes

Recast

2024-06-28T02:51:21

fibojustin.eth

Justin the Broski

Justin the Broski

I like the concept of Fibonacci - investing @ Fibo Partners // host of /broski // part-time Damster at /degenpad

350

577

No

Field Description

  • Reaction Type: The type of reaction (e.g., Like, Recast).

  • Timestamp: The time when the reaction occurred.

  • Username: The user's Ethereum address represented as the username.

  • Display Name: The user's display name.

  • Profile Picture: The user's profile picture.

  • Bio: A brief introduction about the user.

  • Follower Count: The number of followers the user has.

  • Following Count: The number of users the person is following.

  • Power Badge: Whether the user holds a power badge (Yes/No).

Last updated