vrypan |--o--|
@vrypan.eth
New blog post. I need to find a way to make links linking to Warpcast to open using the frames sdk, (when the page is rendered as a frame), because now you get Warpcast in a frame if you follow them. https://blog.vrypan.net/2025/03/03/farcaster-in-coinbase-wallet/
2 replies
0 recast
3 reactions
Steve
@stevedylandev.eth
Should work using this? https://docs.farcaster.xyz/developers/frames/v2/spec#actions-openurl
1 reply
0 recast
0 reaction
vrypan |--o--|
@vrypan.eth
I think, when the page is rendered as a frame, I need to find all links to `warpcast.com` and override them with `actions.openUrl`.
2 replies
0 recast
2 reactions
Tony D’Addeo
@deodad
yea. a bit of a pain but haven't thought of a great way to solve this other than frontend library components (i.e. React)
1 reply
0 recast
1 reaction
vrypan |--o--|
@vrypan.eth
I'm sure it's terrible js code, but this worked for me. Absolute links are opened using openURL, relative ones remain in the frame. (If someone wants to rewrite it and fix the 100 errors I'm sure I'm doing, be my guest.) https://snippets.so/snip/-kpKMSu3dp
1 reply
0 recast
2 reactions