framesjs/frames.js

buttonActoin post as default

Closed this issue ยท 4 comments

    <!DOCTYPE>
    <html>
      <head>
        <meta property="fc:frame" content="vNext" />
        <meta property="fc:frame:image" content="https://frame.jam.so/2.png" />
        <meta property="fc:frame:image:aspect_ratio" content="1.91:1" />
        <meta property="fc:frame:button:1" content="Follow & Recast ๐Ÿ‘‰ Go" />
        <meta property="fc:frame:button:1:target" content="https://frame.jam.so/follow-recast" />
      </head>

      <body>
        <figure>
          <img width="600" src="https://frame.jam.so/2.png" />
        </figure>
      </body>
    </html>

https://warpcast.com/xiaoyan/0xced284d5 works fine, but not works with getFrame

Screenshot 2024-03-14 at 23 50 43

I'am using frames.js to parse html to get frame, we are building another farcaster client http://u3.xyz

any plans to resolve this issue ๏ผŸ

This is what getFrame is giving me for your HTML:

{
    version: 'vNext',
    image: 'https://frame.jam.so/2.png',
    imageAspectRatio: '1.91:1',
    buttons: [
      {
        label: 'Follow & Recast ๐Ÿ‘‰ Go',
        action: 'post',
        target: 'https://frame.jam.so/follow-recast'
      }
    ],
    postUrl: 'https://example.com',
  }

What are you expecting to be different?

ok, with 0.8.3 , I connot get frame with getFrame