Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for equivalent of fc:frame:preview #7

Open
galligan opened this issue Jun 2, 2024 · 1 comment
Open

Support for equivalent of fc:frame:preview #7

galligan opened this issue Jun 2, 2024 · 1 comment

Comments

@galligan
Copy link

galligan commented Jun 2, 2024

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
@davidfurlong
Copy link
Contributor

Agree! Would be great to hear from open frames apps any feedback they may have on this and whether they intend on using it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants