standard
standard copied to clipboard
Support for equivalent of fc:frame:preview
Recently Warpcast published their guidelines on Frames within Direct Casts, which included a section around "Future extensions" to Frames.
The Frame Preview concept is really interesting, and could make for more expressive frame interactions, by including a state prior to interaction, and a way to initiate a frame into a different state than default. It would be great to see support for this in Open Frames.
That section reads:
Future extensions
Introduce optional meta tags to give frames additional control over preview styling:
fc:frame:preview:image- A preview image that may be different from the frame’s initial image. Should be in the same aspect ratio as the frame content.
- Default:
fc:frame:image
fc:frame:preview:post_url- An initial POST URL that may be different than the frame URL. On preview click, clients will POST to this URL and display the returned frame. This enables frames to show a dynamic initial response, similar to cast actions.
- Default: none. Clients will display the initial frame.
fc:frame:preview:title- A title, that will be displayed in the frame modal.
- Default:
og:title,"Farcaster Frame"
fc:frame:preview:icon- An icon from the same set as Cast actions, that will be displayed in the frame modal.
- Default: none
Agree! Would be great to hear from open frames apps any feedback they may have on this and whether they intend on using it