Content pfp
Content
@
0 reply
0 recast
0 reaction

Maximonee 🎩 pfp
Maximonee 🎩
@maximonee
Hey devs, released my first gen art project Social Graphs. A mint in a frame that uses the minter’s Farcaster social activity to generate a piece based on their casts, engagement, and followers. A lot of work went into this, so I wanted to share how I approached it from a technical PoV https://socialgraphs.vercel.app
8 replies
14 recasts
18 reactions

Maximonee 🎩 pfp
Maximonee 🎩
@maximonee
The frame is built in frames.js which I love as someone who struggles with frontend stuff. On the first button press, I start to fetch the user’s social activity using @neynar APIs. Because this may take longer than the 5 second timeout, I return an in progress view immediately.
1 reply
0 recast
3 reactions

Maximonee 🎩 pfp
Maximonee 🎩
@maximonee
The user can check if the fetch is done periodically by clicking on a button to get an update. A lambda function is running to fetch the stats, store them in DynamoDB, and also update a separate table to serve as a cache. The cache lets me know what was already fetched to ensure duplicate requests aren’t done.
1 reply
0 recast
1 reaction