Content
@
https://warpcast.com/~/channel/frames-devs
0 reply
0 recast
0 reaction
onten.eth | βοΈππ©
@rezaisgoat.eth
I code my frames using frog and I have problem with using my modules. I import them like this an also turned on this option in my tsconfig allowImportingTsExtensions things work fine locally with dev server, but I have problem with the deployment. is it my code or frog? https://warpcast.com/rezaisgoat.eth/0x9a3d1134
4 replies
0 recast
3 reactions
conca π©π»
@0xconca.eth
Same boat, donβt understand how only a handful of people is complaining. I resolved by switching to Firebase Cloud Functions: had to write my own Handler from scratch but it was so worth it!
1 reply
0 recast
1 reaction
onten.eth | βοΈππ©
@rezaisgoat.eth
I got another Q non related to this. What is the resolution of the images you're returning to the user? I was reading frames.js docs and it says images should stay below 250kB. Is it a must for the opengraph protocol? Cuz I used to return 800kB 1080x1080 images with frog.
1 reply
0 recast
0 reaction
conca π©π»
@0xconca.eth
Thereβs a difference between returning the image as HTML/JSX and passing the url of a converted image! The former needs to be <250kb and the latter can be even 10MB! Thatβs why I convert every response to png before returning it, itβs an extra step but it ensures more flexibility
1 reply
0 recast
1 reaction