Content
@
0 reply
0 recast
0 reaction
Avneesh
@avneesh
Do you see all these cool bots on Farcaster which reply with a frame and wonder how to make one yourself? Say no more we got you covered with @neynar. Check out this guide on our docs or simply follow this thread 👇 https://docs.neynar.com/docs/create-a-farcaster-bot-to-reply-with-frames-using-neynar
8 replies
8 recasts
72 reactions
Avneesh
@avneesh
1/ Introduction In this thread, we’ll go over: 1. Creating a webhook which listens to casts 2. Creating a bot which replies to the casts 3. Creating frames dynamically using the neynar SDK You can directly take a look at the code here: https://github.com/neynarxyz/farcaster-examples/tree/main/frames-bot
1 reply
0 recast
1 reaction
Avneesh
@avneesh
2/ Creating a bun server I am going to use a bun server for the sake of simplicity of this thread, but you can use express, Next.js api routes or any server that you wish to use! Create a new server and install the required dependencies by entering the following commands in your terminal:
1 reply
0 recast
2 reactions
Avneesh
@avneesh
3/ Running the bun server Once the project is created and the packages are installed, you can open it in your favourite editor, and add the following in index.ts and run the file using bun run index.ts:
1 reply
0 recast
1 reaction