Content
@
https://warpcast.com/~/channel/frames-devs
0 reply
0 recast
0 reaction
Sarvesh
@sarvesh371.eth
Hello everyone, I am building my first v2 frames and i am kind of stuck in an issue. I am able to open my frame from `Launch Frame` Section but can't seem to preview it it says `No frame embed found` I followed frames doc till end, but not able to solve this issue My frame code: https://github.com/sarvesh371/translate-frames-v2 Deployed here: https://translate-frames-v2.vercel.app/ https://docs.farcaster.xyz/developers/frames/v2/ Would appreciate any help here cc @linda @horsefacts.eth
2 replies
0 recast
0 reaction
Samuel ツ
@samuellhuber.eth
Set up the metadata here https://github.com/sarvesh371/translate-frames-v2/blob/main/src/app/layout.tsx See https://dtech.vision/farcaster/miniapps/turnyourwebpageintoaminiapp/ For how to get the metadata
1 reply
0 recast
2 reactions
Sarvesh
@sarvesh371.eth
@samuellhuber.eth I tried and added the route.ts here now https://github.com/sarvesh371/translate-frames-v2/blob/main/src/app/.well-known/farcaster.json/routes.ts Also followed steps to generate my metadata but still not able to preview it from developer tools. When i am going to mobile app and doing check domain status i am getting 404 https://translate-frames-v2.vercel.app/. Appreciate any help
1 reply
1 recast
1 reaction
horsefacts
@horsefacts.eth
There is no embed tag in your HTML. Make sure there is a <meta name="fc:frame" /> tag in your HTML. https://docs.farcaster.xyz/developers/frames/v2/spec#frame-embed-metatags
2 replies
0 recast
2 reactions
Sarvesh
@sarvesh371.eth
Finally i am able to solve this issue and launch my first v2 frames successfully. Special thanks to @horsefacts.eth @samuellhuber.eth @robin and @zeni.eth in helping me solve this issue. Try it out here: https://translate-frames-v2.vercel.app One last question, is it safe to have these secrets public on github or should i keep them in .env https://github.com/sarvesh371/translate-frames-v2/blob/main/src/app/.well-known/farcaster.json/routes.ts
2 replies
0 recast
3 reactions
Samuel ツ
@samuellhuber.eth
Glad it works. How can I improve docs so it’s easier for you to learn more & build more ?
1 reply
0 recast
1 reaction
horsefacts
@horsefacts.eth
very nice! it's OK for your domain association signature to be public. there are no secrets in there, just a signed message from your Farcaster account.
0 reply
0 recast
1 reaction