vrypan |--o--|
@vrypan.eth
if you go to farma . vrypan . net using your browser, you will see this, at the top of the page. This is a dynamically injected element, that is shown when sdk.actions.addFrame() returns an error (should it be on sdk.actions.ready() ?) The Open button links to "https://warpcast.com/?launchFrameUrl="+window.location. 1. I think this should be part of the frames sdk. A simple way, to show a button to open a page as frame in Warpcast. Or at least someone who is better at js and css, to bundle this as a component. 2. The launchFrameUrl link does not work on mobile, I may be doing something wrong, not sure. Any help?
4 replies
0 recast
7 reactions
vrypan |--o--|
@vrypan.eth
BTW, how about honoring `` when displaying code in casts? DX is really bad when it comes to sharing things on Farcaster.
1 reply
0 recast
3 reactions
Tony D’Addeo
@deodad
great idea I've been sharing this gist for an isFrame fn that I want to add into the SDK https://gist.github.com/deodad/55407466cfc98e7d6d7aa8388b365bac interesting idea to bundle it in... I like it. Does run into the client problem where we'd need to hardcode a warpcast.com domain into the frame sdk which I don't like
1 reply
0 recast
1 reaction
Bianc8.eth
@bianc8
TIL the correct launchFrameUrl working both desktop&mobile is: https://warpcast.com/~/frames/launch?domain=example.org courtesy of @kompreni
0 reply
0 recast
1 reaction
Wayne Worth
@alongcamewayne
i like this idea! hopefully the kinks can be worked out to make it work
0 reply
0 recast
0 reaction