Content
@
https://warpcast.com/~/channel/frames-devs
0 reply
0 recast
0 reaction
Gambino
@greatgambino.eth
Does anybody know of a public repository that uses frames.js and has input text/buttons that pull data from an API? I am trying to learn and think it would be helpful to examine one already built. Thanks!
4 replies
1 recast
2 reactions
df
@df
this might help: https://github.com/framesjs/frames.js/blob/4df7a3ab065c9ae67bb167b052bdc298af7e4eab/templates/next-starter-with-examples/app/examples/custom-hub/frames/route.tsx#L11 to use an API you could const data = await fetch('<APIroute>') on line 8 and use data in populating lines 11/12
2 replies
0 recast
0 reaction
Gambino
@greatgambino.eth
Hey @df I saw your quickstart to frames video on youtube. It was helpful, thank you! I had 2 questions. You mentioned on topframes.xyz you could possible find the code for some that are open source. I couldn't figure out where? Also topframes.xyz is automatically redirecting me to https://www.degen.game/frames/games is that the same? and do you have any other youtube videos for beginners?
0 reply
0 recast
0 reaction
Gambino
@greatgambino.eth
Thanks!
0 reply
0 recast
0 reaction