Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction
Sam
@sammdec.eth
Whatโs the best way of subscribing to the firehose of casts being created and users being created/uodated? Is there a service that will fire webhooks to me? I know @neynar has webhooks but you need to filter on casts created by some filter value.
2 replies
0 recast
5 reactions
jj ๐
@jj
You can use the grpc stream if you look at the Hubble code you can see how https://github.com/farcasterxyz/hub-monorepo/blob/main/protobufs/schemas/rpc.proto#L26
1 reply
0 recast
0 reaction
jj ๐
@jj
Step 1. Whatever language compile the protobuf files Step 2. Use the protobuf connection to your hub Step 3. Invoke subscribe request and youโll see a stream of hub messages coming through You can look at the Hubble docs to filter cast creates etcโฆ
1 reply
0 recast
0 reaction
Sam
@sammdec.eth
Oh interesting Iโve not done much stuff with protobuf before.
1 reply
0 recast
0 reaction
jj ๐
@jj
Yea itโs a bit annoying but really itโs not as bad as you think. Just use ChatGPT and itโll guide you through pretty quickly I tested this in golang and python and itโs pretty quick
1 reply
0 recast
0 reaction