Get Recent Casts

farcasterCast.getRecentCast

Overview

Get a list of casts from the protocol in reverse chronological order based on timestamp

Parameters

name
type
required
Note

viewer_fid

number

true

ex) 3

limit

number

false

default: 25, max: 100

cursor

string

false

ex) eyJwYWdlIjoyfQ==

Usage

let res = await Lum0x.farcasterCast.getRecentCast({
    viewer_fid: 3,
    limit: 3
});
console.log(JSON.stringify(res, null, 2));

Response

Hash
Author
Text
Timestamp
Reactions Count
Recasts Count
Replies Count
Channel Name
Channel Image URL
Embed URL

0xb8c9f48937cfd02042bdccd19d2758f67b5ef6f3

Silly Panda

🚀🚀🚀 to the 🌕

2024-08-22T04:35:25.000Z

0

0

0

airstack

N/A

0xe00f3064acc6a8adf3e38240674d5747cb9dca02

Koowmjo🎭

Today is a day to celebrate all the good things in life!

2024-08-22T04:35:25.000Z

0

0

0

$MASKS

N/A

0xb73d780537ed027fa6760e002d23c469e9255c6a

Karl

모르겠냐

2024-08-22T04:35:25.000Z

0

0

0

반모 banmo

N/A

Field Description

  • Hash: The unique identifier of the cast.

  • Author: The name of the cast's author.

  • Text: The content of the cast.

  • Timestamp: The date and time when the cast was created.

  • Reactions Count: The number of reactions (e.g., likes) the cast has received.

  • Recasts Count: The number of times the cast has been recast.

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

  • Channel Name: The name of the channel where the cast was posted.

  • Channel Image URL: The URL of the channel's image.

  • Embed URL: The URL of embedded content related to the cast (if applicable).

Last updated