User Neynar dev portal to set up webhooks for your app
target_url
. To test it out, we are using a service like ngrok to create a public URL that will forward requests to your local server. However, we recommend using your own domain to avoid interruptions.
bun serve index.ts
, and run ngrok with ngrok http 3000
. Copy the ngrok URL and paste it into the “Target URL” field in the Neynar developer portal. The webhook will call the target URL every time the selected event occurs. Here, I’ve chosen all the casts created with farcasterframesbot present in the text.
Now the server will log out the event when it is fired. It will look something like this: