Content
@
https://opensea.io/collection/neynar-1
0 reply
0 recast
0 reaction
albert
@thatguyintech
question for @neynar api: what's the recommended way to search through cast replies? I originally thought `lookupCastConversation` would do the job, but it looks like the api response caps out at 20 replies and doesn't return the rest. I'm looking for something to help me verify whether a user with an FID has (or has not) replied to a cast with a url Here's an exact repro and example of what I'm talking about: https://github.com/thatguyintech/neynar-lookupCastConversation-1.28.0
3 replies
0 recast
3 reactions
Neynar
@neynar
you can just page through with the cursor to get the next 20 responses? same for the direct replies?
1 reply
0 recast
1 reaction
albert
@thatguyintech
I'm on v 1.28.0 doesn't seem like the direct replies has a cursor or page concept ``` export interface CastWithInteractionsAndConversationsAllOf { /** * note: This is recursive. It contains the direct replies to the cast and their direct replies up to n reply_depth. * @type {Array<CastWithInteractionsAndConversations>} * @memberof CastWithInteractionsAndConversationsAllOf */ 'direct_replies'?: Array<CastWithInteractionsAndConversations>; } ``` the api response only includes an array with 20 direct replies and no pagination abilities
1 reply
0 recast
0 reaction
Manan
@manan
highly recommend moving to v2, here's the guide. https://docs.neynar.com/reference/migrate-to-neynar-nodejs-sdk-v2-using-github-copilot
1 reply
0 recast
1 reaction
albert
@thatguyintech
was starting to look at that, we’ll definitely migrate at some point but for now I’m worried about scope creep due to breaking changes is there no way to solve on v1? for this use case: https://warpcast.com/thatguyintech/0xd743759e
0 reply
0 recast
0 reaction