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
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
vrypan |--o--|
@vrypan.eth
You're right about the domain. (I'm so happy to hear this concern from MM!) But what's the solution? The farcatser URI problem is starting to appear in various places. We need a solution to it, even if it's not the ideal one.
1 reply
0 recast
0 reaction
vrypan |--o--|
@vrypan.eth
Many, many years ago, @julien51.eth created https://www.subtome.com to solve a similar problem with RSS. Could we follow a similar solution? It's an elegant one, considering the limitations, and it's using static html + cookies.
2 replies
0 recast
2 reactions
Tony D’Addeo
@deodad
this is awesome, thanks for sharing I've been noodling on the same core idea here for a long time so awesome to see an actual implementation I think we can even do one better on the UX by letting the user SIWF to the singleton domain so their settings can be synced across devices
1 reply
0 recast
2 reactions
vrypan |--o--|
@vrypan.eth
I noticed @v mentioned this during the dev call. I have a concern about syncing the preferred app across devices, because I may have different preferences across devices. For example Recaster on my iPhone, Warpcast on my laptop, something else on my work computer. Or maybe a different one if I'm using Chrome and when I'm using Safari (I actually use different browsers for different accounts). I think the overhead of configuring a client once per device is very low.
1 reply
0 recast
0 reaction
Tony D’Addeo
@deodad
not sure what your getting at
1 reply
0 recast
0 reaction
vrypan |--o--|
@vrypan.eth
> letting the user SIWF to the singleton domain so their settings can be synced across devices My interpretation 1. I will have to use SIWF the first time I click a farcaster link and the set my preferred client. 2. When I'm on a new device (or browser), I will have to SIWF to fetch my preferred client. This means that I have a single "preferred client". But in many cases, this may not be the case. When I'm using Safari, I want links to open in WC desktop, when Chrome, I want Zapper, Recaster on my iPhone. I'd rather just use a cookie, and pick my preferred client the first time I use a device/browser.
1 reply
0 recast
1 reaction