Mike pfp

Mike

@starrdev

76 Following
14 Followers


Mike pfp
Mike
@starrdev
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 reply
0 recast
1 reaction

Mike pfp
Mike
@starrdev
Full house at #EthCC for @vitalik.eth keynote
0 reply
0 recast
1 reaction

Mike pfp
Mike
@starrdev
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 reply
0 recast
0 reaction

Mike pfp
Mike
@starrdev
Yeah definitely
0 reply
0 recast
0 reaction

Mike pfp
Mike
@starrdev
I'm still stuck. The issue now is that I cannot get state to persist when going to a new frame. https://github.com/airswap/frames/blob/fix-otcurl-input/templates/next-starter-with-examples/app/frames/route.tsx In my main route.tsx file, when you fill in the text input and click on the button, state gets updated, but when I try to access state in the next frame, `frame/route1/route.tsx`, I'm unable to access state from `ctx`
0 reply
0 recast
0 reaction

Mike pfp
Mike
@starrdev
Nope, in React state always gets declared within a functional, but before the return statement. My issue now is I'm not able to access state between different frames. State doesn't persist
1 reply
0 recast
0 reaction

Mike pfp
Mike
@starrdev
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 recast
0 reaction

Mike pfp
Mike
@starrdev
I've been following the docs to the letter, and cannot get it to work. Using frames has been frustrating to say the least
0 reply
0 recast
0 reaction

Mike pfp
Mike
@starrdev
I suppose the opportunity with Frames exists because not many people are using it yet. Prime mover advantage! 😆
0 reply
0 recast
0 reaction

Mike pfp
Mike
@starrdev
Are there any telegram or discord groups where I can ask for help?
1 reply
0 recast
0 reaction

Mike pfp
Mike
@starrdev
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 recast
0 reaction

Mike pfp
Mike
@starrdev
I’ve finally joined the Warpcast Degen party! Somebody please fill me in… how can I make the most of my experience here?
0 reply
0 recast
0 reaction

Mike pfp
Mike
@starrdev
Who is going to Ethcc 2024 in Brussels?
1 reply
0 recast
0 reaction