Mike (starrdev)

Mike

Web developer @ AirSwap

9 Followers

Recent casts

I’m here at #EthCC and enjoying it so far! The venue, food, and people are great so far. Come say hi if you see me!

  • 0 replies
  • 0 recasts
  • 0 reactions

I'm having issues passing state between different components. https://github.com/airswap/frames/blob/fix-otcurl-input/templates/next-starter-with-examples/app/frames/frames.ts First I declared my initial state in the frames.ts file: `import { createFrames } from "frames.js/next"; export type State = { otcUrl: string; } export const frames = createFrames<State>({ basePath: "/frames", initialState: { otcUrl: "" }, debug: process.env.NODE_ENV === "development", });` https://github.com/airswap/frames/blob/fix-otcurl-input/templates/next-starter-with-examples/app/frames/route.tsx Then I update state when input changes in route.tsx: `const currentState = ctx.state; const updatedState = { ...currentState, otcUrl: ctx.message?.inputText || undefined }` https://github.com/airswap/frames/blob/fix-otcurl-input/templates/next-starter-with-examples/app/frames/url_list/route.tsx Then I extract state from the context object, but it's not working. `const otcUrl = ctx.state.otcUrl`

  • 2 replies
  • 0 recasts
  • 0 reactions

Top casts

If you build up a following in Farcaster, in the future you can take that following elsewhere. It should be the last time you need to build a following, unless I’m misunderstanding it. Web2 platforms can and do ban people for no reason and that’s the end of the line

  • 0 replies
  • 0 recasts
  • 1 reaction

Where do I add the `fc` properties in my frames.js application? My page.tsx app comes with this out of the box: `export async function generateMetadata(): Promise<Metadata> { return { title: "my title", description: "my description", other: { ...(await fetchMetadata(new URL("/frames", appURL()))), }, }; }` But when I debug my application I see these errors: `fc:frame Missing required meta tag "fc:frame" fc:frame:image Missing required meta tag "fc:frame:image" og:image Missing meta tag "og:image"` It looks like `fc:frame` is already there in the `other` property. How Can I add properties like `fc:frame:image` to my app? It's nowhere to be found in the boilerplate code.

  • 1 reply
  • 0 recasts
  • 0 reactions

Are there any telegram or discord groups where I can ask for help?

  • 1 reply
  • 0 recasts
  • 0 reactions

Onchain profile

Ethereum addresses