Content
@
0 reply
0 recast
2 reactions
rish
@rish
GM! took us a bit longer than expected but thanks to @shreyas-chorge, we now have an sdk for all farcaster read and write operations: github.com/neynarxyz/nodejs-sdk @pixel wrote some great guides on how you can get started! docs.neynar.com will keep adding new functionality, feedback is useful 🙏🏽 🪐
7 replies
20 recasts
69 reactions
JB Rubinovitz ⌐◨-◨
@rubinovitz
Does this mean we can get replies on casts in channels in one operation? Does replies recurse into replies of replies?? https://docs.neynar.com/docs/fetching-casts-from-memes-channel-in-farcaster
1 reply
0 recast
1 reaction
vincent
@pixel
that'll only return root casts, to recursively get all cast in channel you have to map through the root casts and fetch the replies with `client.fetchAllCastsInThread()`
1 reply
0 recast
0 reaction
JB Rubinovitz ⌐◨-◨
@rubinovitz
Got it! Would be cool if you included a util to create the cast reply tree.
1 reply
0 recast
2 reactions
vincent
@pixel
what is cast reply tree? `tree` unix command but for replies in thread?
2 replies
0 recast
0 reaction
JB Rubinovitz ⌐◨-◨
@rubinovitz
When I was using the API endpoints I had to do a lot of work to organize threads. Tree: root is first post in thread. Then recurse on each first level reply and get children.
0 reply
0 recast
1 reaction