Content pfp
Content
@
https://warpcast.com/~/channel/frames
0 reply
4 recasts
4 reactions

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
Does anyone have a trick to generate route specific frame meta tag? Frame's SSR=false requirement with warpcast/opengraph only reading the initially loaded meta tags means SPA tags set after load aren't seen. Ex: If a user posts a link to a specific chess game, I'd like for the embed to show game specific content.
1 reply
0 recast
3 reactions

Stephan pfp
Stephan
@stephancill
I add a url param on the shared url here https://github.com/stephancill/yo-frame/blob/main/src/components/App.tsx#L1000 and detect it in my page’s generateMetadata function https://github.com/stephancill/yo-frame/blob/main/src/app/page.tsx here
1 reply
0 recast
0 reaction

Stephan pfp
Stephan
@stephancill
Assuming you’re using nextjs 😅
1 reply
0 recast
0 reaction

Johns | johnsgresham.eth pfp
Johns | johnsgresham.eth
@johns
thanks. hmm, I and/or react-router is falling short here somehow. I am trying something similar without luck
0 reply
0 recast
1 reaction