Content pfp
Content
@
0 reply
0 recast
0 reaction

Sam pfp
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

johnjjung.eth 🛟 pfp
johnjjung.eth 🛟
@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

johnjjung.eth 🛟 pfp
johnjjung.eth 🛟
@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