Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction
Stephan
@stephancill
i need a cheap API that can tell me all the mutuals of a given fid - dune query too expensive - neynar API no longer works building this requires an index of the whole follow graph and needs to be kept in sync
12 replies
1 recast
32 reactions
Stephan
@stephancill
Update: best solution is probably reading up to N pages from snapchain’s getLinksByFid?fid/target_fid and then falling back to dune if there are additional pages And then add some caching
3 replies
0 recast
1 reaction
Harris
@harris-
Does the grpc endpoint still give you all links via a function or something? GetLinksByFid & GetLinksByTarget? I think you can specify a very large size and just get all of them, maybe specify the max size for a storage unit and check based on how many storage units the user has? That might cover 90% of cases in one page I guess
1 reply
0 recast
1 reaction
Stephan
@stephancill
Yes you can do 20k messages in a single page in the http api but it’s pretty slow
1 reply
0 recast
1 reaction
Harris
@harris-
Protobufs on grpc must be like 1/2-1/4 of that just in the compact bytes down the wire surely instead of json utf8 or whatever I imagine
1 reply
0 recast
0 reaction