Fetches reactions for a given user

farcasterReaction.getReactionByUser

Overview

Fetches reactions for a given user

Parameters

name
type
required
Note

fid

number

true

ex) 3

viewer_fid

number

false

ex) 3

type

string

true

"all", "likes" or "recasts"

limit

number

false

default: 25, max: 100

cursor

string

false

ex) eyJwYWdlIjoyfQ==

Usage

let res = await Lum0x.farcasterReaction.getReactionByUser({
    fid: 721870,
    type: "all",
    limit: 3
});
console.log(JSON.stringify(res, null, 2));

Response

Reaction Type
Author
Text
Timestamp
Likes Count
Recasts Count
Reactions
Replies Count
Channel
Mentioned Profiles

Like

DegenPad🎩🐹

Seoul Seoul Seoul!🇰🇷 We're excited to announce that, in partnership with @lum0x, we'll be co-hosting the FarSight Summit Community Event at Korea Blockchain Week 2024. We can’t wait to see the collaboration between @base <> @farcaster <> Lum0x <> Degenpad and the amazing Korean builders in Frame!

2024-08-16T15:19:55.000Z

36

8

[Likes: pedramiix, meye, sqibw, 10poon, whitegoats] [Recasts: kb534, dkdkdkdkdkdkdk.eth, marufm05, franklynr, esss]

10

Degenpad

[Lum0x, Base, Farcaster]

Like

Degen.wtf🎩🐹🩸

Go To Market🇰🇷 Who can I meet during Korea Blockchain Week 2024? @degenpad X @base X @farcaster X @lum0x

2024-08-16T15:22:06.000Z

3

1

[Likes: zeronine, lum0x, mashaodessa] [Recasts: mashaodessa]

2

Farcaster

[DegenPad🎩🐹, Base, Farcaster, Lum0x]

Field Description

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

  • Reaction Timestamp: The time when the reaction occurred.

  • Object: The target of the reaction.

  • Cast Details: Details about the cast (hash, parent hash, text, etc.).

  • Author: Information about the author of the cast.

  • Text: The content of the cast.

  • Timestamp: The time when the cast was created.

  • Embeds: Attached images or referenced casts.

  • Reactions: The number of likes and recasts for the cast.

  • Likes: List of users who liked the cast.

  • Recasts: List of users who recast the cast.

  • Replies Count: The number of replies to the cast.

  • Channel: Information about the channel where the cast was posted.

  • Mentioned Profiles: Profiles mentioned in the cast.

Last updated