Content pfp
Content
@
0 reply
0 recast
0 reaction

frames.js pfp
frames.js
@frames
Looking for feedback on frames.js What can we do better and what should we work on next? If you could wave a magic wand and solve a problem related to making frames, what would it be? answers are very helpful and appreciated 🙏
11 replies
7 recasts
27 reactions

cashlessman 🎩 pfp
cashlessman 🎩
@cashlessman.eth
@df I'm not getting how to change the ratio of the frame from default (1.91:1) to 1:1, here is my ./app/frames/frames.ts import { createFrames } from "frames.js/next"; import { farcasterHubContext, } from "frames.js/middleware"; export const frames = createFrames({ basePath: "/frames", debug: process.env.NODE_ENV === "development", middleware: [ farcasterHubContext({ ...(process.env.NODE_ENV === "production" ? { hubHttpUrl: "hubs.airstack.xyz", hubRequestOptions: { headers: { "x-airstack-hubs": process.env.AIRSTACK_API_KEY as string, }, }, } : { hubHttpUrl: "localhost:3010/hub", }), }), ], });
1 reply
0 recast
0 reaction

df pfp
df
@df
you do it in the frame handler not this file
1 reply
0 recast
0 reaction