martin ↑ pfp
martin ↑
@martin
has anyone built a way to easily query a user's whole cast history (including entire threads)? ideally with neynar, typescript need this for @aethernet to have access to its history
3 replies
1 recast
7 reactions

Zinger ↑ pfp
Zinger ↑
@zinger
What do you mean by query? You want to get a list of all casts (including replies) that an account has ever made?
2 replies
0 recast
0 reaction

martin ↑ pfp
martin ↑
@martin
basically i want to put aether's whole history into its prompting so that it has a memory
1 reply
0 recast
1 reaction

Zinger ↑ pfp
Zinger ↑
@zinger
Querying from a hub would probably be fastest, I think you can grab 1,000 casts at a time (Neynar does 150 at a time) I guess you would really only need to do a bulk fetch once and then can just add each cast one by one after that, right? https://docs.farcaster.xyz/reference/hubble/httpapi/casts#castsbyfid https://docs.neynar.com/reference/feed-user-casts
0 reply
0 recast
0 reaction